From 6755c2cb723962e11458951b03c88c68f73ceadf Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 18 Nov 2024 17:08:27 +0800 Subject: [PATCH] util.sh: keep long options --- utils.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils.sh b/utils.sh index 4a19768..2a1c450 100755 --- a/utils.sh +++ b/utils.sh @@ -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 }