tiny fix for mac [ci skip]

This commit is contained in:
filux 2015-11-16 19:33:19 +01:00
parent 3ef7a6c1bc
commit 5b3d3baa81
2 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit 593b45885701827f068e567f8e926edeac5445c5
Subproject commit df0c16f14351fedc47c93bdde06bd527ba7502d0

View File

@ -16,7 +16,7 @@ CURRENTDIR="$(cd "$(dirname "$0")"; pwd)"
# Consider setting this for small packages if there's plenty of RAM and CPU available:
#export XZ_OPT="$XZ_OPT -9e"
if [ "$1" = "-CI" ] || [ "$1" = "--show-result-path" ]; then
if [ "$1" = "-CI" ] || [ "$1" = "-" ] || [ "$1" = "--show-result-path" ]; then
if [ "$2" != "" ]; then SOURCE_BRANCH="$2"; fi
fi
@ -87,5 +87,7 @@ cd "$RELEASENAME"
tar -cf - * | bzip2 -9 > "../$PACKAGE"
cd "$CURRENTDIR"
if [ "$1" = "-CI" ] && [ -d "$RELEASEDIR" ]; then rm -rf "$RELEASEDIR"; fi
if [ "$1" = "-CI" ] || [ "$1" = "-" ]; then
if [ -d "$RELEASEDIR" ]; then rm -rf "$RELEASEDIR"; fi
fi
ls -lhA "${RELEASEDIR_ROOT}/$PACKAGE"