aboutsummaryrefslogtreecommitdiff
path: root/patches/apache
diff options
context:
space:
mode:
Diffstat (limited to 'patches/apache')
-rwxr-xr-xpatches/apache/apache.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/apache/apache.SlackBuild b/patches/apache/apache.SlackBuild
index 07c8e84b..bbe19b65 100755
--- a/patches/apache/apache.SlackBuild
+++ b/patches/apache/apache.SlackBuild
@@ -207,9 +207,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
makepkg -l y -c n $REPOS/apache-$APACHE_VER-$ARCH-$BUILD.tgz
-# clean up
-if [ "$1" = "--cleanup" ]; then
- cd $CWD
- rm -rf $TMP
- rm -rf $PKG
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP
fi
+