diff options
author | marc <devnull@localhost> | 1996-07-23 03:33:20 +0000 |
---|---|---|
committer | marc <devnull@localhost> | 1996-07-23 03:33:20 +0000 |
commit | 7e46ec48ecbff19e794770fb200d6c2c647f51eb (patch) | |
tree | ae90cddd52b231e76e909aa444942b43337d4f8d /build | |
parent | ff49802b59137de912bdbd2fa551bf24c0732952 (diff) | |
download | rpm-7e46ec48ecbff19e794770fb200d6c2c647f51eb.tar.gz rpm-7e46ec48ecbff19e794770fb200d6c2c647f51eb.tar.bz2 rpm-7e46ec48ecbff19e794770fb200d6c2c647f51eb.zip |
parse %prep even for list check
CVS patchset: 920
CVS date: 1996/07/23 03:33:20
Diffstat (limited to 'build')
-rw-r--r-- | build/build.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/build.c b/build/build.c index 7feb0a893..19c41648f 100644 --- a/build/build.c +++ b/build/build.c @@ -646,14 +646,14 @@ int doBuild(Spec s, int flags, char *passPhrase) strcpy(build_subdir, "."); - if (flags & RPMBUILD_LIST) - return verifyList(s); - /* We always need to parse the %prep section */ if (execPrep(s, (flags & RPMBUILD_PREP))) { return 1; } + if (flags & RPMBUILD_LIST) + return verifyList(s); + if (flags & RPMBUILD_BUILD) { if (execBuild(s)) { return 1; |