try w/o readlink

This commit is contained in:
Jay Lee
2021-05-10 09:06:53 -04:00
parent 251e2774aa
commit 05642f3c14
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ export distpath="dist/"
export gampath="${distpath}/gam"
rm -rf $gampath
#mkdir -p $gampath
export gampath=$(readlink -e $gampath)
#export gampath=$(readlink -e $gampath)
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
export gam="${gampath}/gam"
export GAMVERSION=`$gam version simple`
@@ -12,7 +12,7 @@ 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 tar up gam/
tar -C dist/ --create --file $GAM_ARCHIVE --xz gam
tar -C ${distpath} --create --file $GAM_ARCHIVE --xz gam
echo "PyInstaller GAM info:"
du -h $gam
time $gam version extended

View File

@@ -8,7 +8,7 @@ export distpath="dist/"
export gampath="${distpath}/gam"
rm -rf $gampath
#mkdir -p $gampath
export gampath=$(readlink -e $gampath)
#export gampath=$(readlink -e $gampath)
pyinstaller --clean --noupx -F --distpath $distpath gam.spec
export gam="${gampath}/gam"
echo "running compiled GAM..."