Skip to content

Commit

Permalink
util.sh: keep long options
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Nov 18, 2024
1 parent e38827c commit 6755c2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ package() {
PKGNAME="$1"
VERSION="$2"

tar -C "$PREFIX" -czvf "$PKGDIR/bootstrap-$PKGNAME-$VERSION.tar.gz" .
tar --directory "$PREFIX" \
--create --gzip --verbose \
--file "$PKGDIR/bootstrap-$PKGNAME-$VERSION.tar.gz" .
find "$PREFIX" -mindepth 1 -delete
}

0 comments on commit 6755c2c

Please sign in to comment.