From c987861f02a482b3557ecc6a67b77def77733f85 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 23 Apr 2020 19:46:07 -0400 Subject: [PATCH] fix tar on *nix --- src/travis/linux-install.sh | 6 +++--- src/travis/osx-install.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/travis/linux-install.sh b/src/travis/linux-install.sh index 0979a181..2f329661 100755 --- a/src/travis/linux-install.sh +++ b/src/travis/linux-install.sh @@ -16,8 +16,8 @@ else this_glibc_ver=$(ldd --version | awk '/ldd/{print $NF}') GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM-glibc$this_glibc_ver.tar.xz rm $gampath/lastupdatecheck.txt - # tar will cd to dist and compres gam/ - tar cfJ -C dist/ $GAM_ARCHIVE gam/ + # tar will cd to dist and tar up gam/ + tar -C dist/ --create --file $GAM_ARCHIVE --xz gam echo "PyInstaller GAM info:" du -h $gam time $gam version extended @@ -28,7 +28,7 @@ else rm $gampath/gam mv $gam-staticx $gam chmod 755 $gam - tar cvfJ -C dist/ $GAM_LEGACY_ARCHIVE gam/ + tar -C dist/ --create --file $GAM_LEGACY_ARCHIVE --xz gam echo "Legacy StaticX GAM info:" du -h $gam time $gam version extended diff --git a/src/travis/osx-install.sh b/src/travis/osx-install.sh index 77b1155f..2c3b1f37 100755 --- a/src/travis/osx-install.sh +++ b/src/travis/osx-install.sh @@ -14,4 +14,4 @@ MACOSVERSION=$(defaults read loginwindow SystemVersionStampAsString) GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM-MacOS$MACOSVERSION.tar.xz rm $gampath/lastupdatecheck.txt # tar will cd to dist/ and tar up gam/ -tar cfJ -C dist/ $GAM_ARCHIVE gam/ +tar -C dist/ --create --file $GAM_ARCHIVE --xz gam