fix tar on *nix

This commit is contained in:
Jay Lee
2020-04-23 19:46:07 -04:00
parent f92c4d18db
commit c987861f02
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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