aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpatches/mysql/mysql.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/mysql/mysql.SlackBuild b/patches/mysql/mysql.SlackBuild
index ef0eeb7f..fa741828 100755
--- a/patches/mysql/mysql.SlackBuild
+++ b/patches/mysql/mysql.SlackBuild
@@ -172,7 +172,7 @@ gzip -9 $PKG/usr/man/man?/*.?
cd $PKG
makepkg -l y -c n $REPOS/mysql-$VERSION-$ARCH-$BUILD.tgz
-if [ "$1" == "--cleanup" ]; then
- cd $TMP
- rm -rf mysql-$VERSION
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP
fi
+