]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder.sh
- rm .${SPECFILE}_INSTALLED_PACKAGES if use -RB or -FRB (not -R only)
[packages/rpm-build-tools.git] / 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.042401 seconds and 4 git commands to generate.