summaryrefslogtreecommitdiff
path: root/substitutedeps
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-25 15:47:02 +0100
committerMichael Schroeder <mls@suse.de>2014-03-25 15:47:02 +0100
commit1afaf46fb0f8254338b1d707fe3c0947fdbc1ce5 (patch)
tree17eb9ed2b01cc7d5a9c036513110f0d3cbd7ffcb /substitutedeps
parent45e93d4dc10ddc4af68e83649d93dfb68ce42bf4 (diff)
set a default for $configdir
Diffstat (limited to 'substitutedeps')
-rwxr-xr-xsubstitutedeps2
1 files changed, 2 insertions, 0 deletions
diff --git a/substitutedeps b/substitutedeps
index efea76a..54e540c 100755
--- a/substitutedeps
+++ b/substitutedeps
@@ -19,6 +19,8 @@ sub expand {
my ($dist, $buildroot, $rpmdeps, $archs, $configdir, $release, $changelog);
+$configdir = ($::ENV{'BUILD_DIR'} || '/usr/lib/build') . '/configs';
+
while (@ARGV) {
if ($ARGV[0] eq '--root') {
shift @ARGV;