diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-25 15:47:02 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-25 15:47:02 +0100 |
commit | 1afaf46fb0f8254338b1d707fe3c0947fdbc1ce5 (patch) | |
tree | 17eb9ed2b01cc7d5a9c036513110f0d3cbd7ffcb /substitutedeps | |
parent | 45e93d4dc10ddc4af68e83649d93dfb68ce42bf4 (diff) |
set a default for $configdir
Diffstat (limited to 'substitutedeps')
-rwxr-xr-x | substitutedeps | 2 |
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; |