mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
fix bash if or
This commit is contained in:
@@ -91,7 +91,7 @@ else
|
||||
python=~/python/bin/python3
|
||||
pip=~/python/bin/pip3
|
||||
|
||||
if [[ "$dist" == "precise" ] || [ "$dist" == "trusty" ]]; then
|
||||
if ([ "${dist}" == "precise" ] || [ "${dist}" == "trusty" ]); then
|
||||
echo "Installing deps for StaticX..."
|
||||
sudo apt-get install --yes scons
|
||||
if [ ! -d patchelf-$PATCHELF_VERSION ]; then
|
||||
|
||||
@@ -18,7 +18,7 @@ else
|
||||
du -h gam/gam
|
||||
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
|
||||
$python -OO -m staticx gam/gam gam/gam-staticx
|
||||
strip gam/gam-staticx
|
||||
|
||||
Reference in New Issue
Block a user