summaryrefslogtreecommitdiff
path: root/expanddeps
diff options
context:
space:
mode:
authorMichael Schröder <mls@suse.de>2009-06-10 13:08:05 +0000
committerMichael Schröder <mls@suse.de>2009-06-10 13:08:05 +0000
commitf990c96b9ce3f3fd89ae2733af5d3afdfe0a3287 (patch)
treef7cf3e1f3aed394abda6beb6906f2602783c50ac /expanddeps
parentcfe2006e3ecbcb0ce22603356f5d98b324617b4e (diff)
downloadobs-build-f990c96b9ce3f3fd89ae2733af5d3afdfe0a3287.tar.gz
obs-build-f990c96b9ce3f3fd89ae2733af5d3afdfe0a3287.tar.bz2
obs-build-f990c96b9ce3f3fd89ae2733af5d3afdfe0a3287.zip
- only print parse warnings if $config->{'warnings'} is set
- set warnings for expanddeps/substitutedeps
Diffstat (limited to 'expanddeps')
-rwxr-xr-xexpanddeps1
1 files changed, 1 insertions, 0 deletions
diff --git a/expanddeps b/expanddeps
index f3a3e26..b7d5db9 100755
--- a/expanddeps
+++ b/expanddeps
@@ -165,6 +165,7 @@ if (!defined($dist) || $dist eq '') {
}
my $cf = Build::read_config_dist($dist, $archs[0], $configdir);
+$cf->{'warnings'} = 1;
#######################################################################