fix bash if or

This commit is contained in:
Jay Lee
2020-03-28 13:48:04 -04:00
parent 9372b87d5b
commit 1f80e029b8
2 changed files with 2 additions and 2 deletions

View File

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

View File

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