This commit is contained in:
emmett1
2019-06-15 00:29:33 +08:00
parent 45d4cdaa40
commit bbaf66a137

View File

@@ -377,7 +377,7 @@ packaging() {
bz2) COMPRESS="-j" ;;
esac
tar -c $COMPRESS -f $PACKAGE_DIR/$PKGNAME ./* "${addtotar[@]}"
tar -c $COMPRESS -f $PACKAGE_DIR/$PKGNAME * "${addtotar[@]}"
if [ $? != 0 ]; then
rm -f $PACKAGE_DIR/$PKGNAME
msgerr "Packaging '$PKGNAME' failed."