diff options
Diffstat (limited to 'xibuild')
-rwxr-xr-x | xibuild | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -134,6 +134,11 @@ xibuild () { # go back to root, make things easier cd $XI_ROOT + if [ -z "$(ls -A $PKG_DEST)" ]; then + printf "$FAIL!!!Package is empty!!!$RESET\n" + return 1; + else + printf "$INFO\tarchiving package..."; tar -C $PKG_DEST -czf $PKG_FILE ./ >> $LOGFILE 2>&1 && printf "$PASS archived to $(du -sh $PKG_FILE | awk '{ print $1 }')\n" || return 1; |