mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
try w/o readlink
This commit is contained in:
4
.github/actions/linux-install.sh
vendored
4
.github/actions/linux-install.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user