diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-09-04 02:47:19 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-09-04 02:47:19 +0000 |
commit | 244866db6acbd4a458acafa16ff2a8d8abb26f90 (patch) | |
tree | cf01868dcf213be407ce80775123d375438ea0b0 | |
parent | 230d2f32fec7ac2c69333f3df383d939d6017502 (diff) | |
download | simplepkg-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
-rw-r--r-- | trunk/mkbuild/generic.mkSlackBuild | 2 |
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> |