]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- rm .${SPECFILE}_INSTALLED_PACKAGES if use -RB or -FRB (not -R only)
authorKarol Krenski <charles@pld-linux.org>
Thu, 10 Mar 2005 10:42:58 +0000 (10:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.304

builder.sh

index c1e6778639708c35289f2ac98fc17612735eb7d3..5b03543697d9520bd629cd293e6197d12ee3a957 100644 (file)
@@ -1624,7 +1624,9 @@ case "$COMMAND" in
        "version" )
                echo "$VERSION";;
 esac
-test -f `pwd`/.${SPECFILE}_INSTALLED_PACKAGES && rm `pwd`/.${SPECFILE}_INSTALLED_PACKAGES
+if [ -f `pwd`/.${SPECFILE}_INSTALLED_PACKAGES -a "$REMOVE_BUILD_REQUIRES" != "" ]; then
+       rm `pwd`/.${SPECFILE}_INSTALLED_PACKAGES
+fi
 cd "$__PWD"
 
 # vi:syntax=sh:ts=3:sw=4
This page took 0.110158 seconds and 4 git commands to generate.