aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-09-04 02:47:19 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-09-04 02:47:19 +0000
commit244866db6acbd4a458acafa16ff2a8d8abb26f90 (patch)
treecf01868dcf213be407ce80775123d375438ea0b0 /trunk
parent230d2f32fec7ac2c69333f3df383d939d6017502 (diff)
downloadsimplepkg-244866db6acbd4a458acafa16ff2a8d8abb26f90.tar.gz
simplepkg-244866db6acbd4a458acafa16ff2a8d8abb26f90.tar.bz2
generic.mkSlackBuild: clean_builds now compliant with standard --cleanup behaviour
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@522 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rw-r--r--trunk/mkbuild/generic.mkSlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/mkbuild/generic.mkSlackBuild b/trunk/mkbuild/generic.mkSlackBuild
index 67776ea..a9b07ef 100644
--- a/trunk/mkbuild/generic.mkSlackBuild
+++ b/trunk/mkbuild/generic.mkSlackBuild
@@ -406,7 +406,7 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO
<clean_builds> off
# Delete source and build directories if requested
-if [ "$CLEANUP" == "yes" ]; then
+if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then
rm -rf "$PKG_WORK" "$PKG"
fi
</clean_builds>