mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
fix bash if or
This commit is contained in:
@@ -91,7 +91,7 @@ else
|
|||||||
python=~/python/bin/python3
|
python=~/python/bin/python3
|
||||||
pip=~/python/bin/pip3
|
pip=~/python/bin/pip3
|
||||||
|
|
||||||
if [[ "$dist" == "precise" ] || [ "$dist" == "trusty" ]]; then
|
if ([ "${dist}" == "precise" ] || [ "${dist}" == "trusty" ]); then
|
||||||
echo "Installing deps for StaticX..."
|
echo "Installing deps for StaticX..."
|
||||||
sudo apt-get install --yes scons
|
sudo apt-get install --yes scons
|
||||||
if [ ! -d patchelf-$PATCHELF_VERSION ]; then
|
if [ ! -d patchelf-$PATCHELF_VERSION ]; then
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ else
|
|||||||
du -h gam/gam
|
du -h gam/gam
|
||||||
time $gam version extended
|
time $gam version extended
|
||||||
|
|
||||||
if [[ "$dist" == "precise" ] || [ "$dist" == "trusty"]]; then
|
if ([ "${dist}" == "precise" ] || [ "${dist}" == "trusty" ]); then
|
||||||
GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-${dist}legacy.tar.xz
|
GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-${dist}legacy.tar.xz
|
||||||
$python -OO -m staticx gam/gam gam/gam-staticx
|
$python -OO -m staticx gam/gam gam/gam-staticx
|
||||||
strip gam/gam-staticx
|
strip gam/gam-staticx
|
||||||
|
|||||||
Reference in New Issue
Block a user