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

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