Skip to content

Commit 114e0ba

Browse files
Merge pull request #30 from squeak-smalltalk/fix-32-on-64-linux
Fix squeak.sh template for 32 bit image on 64 bit linux
2 parents 1194ed7 + b3ee7c3 commit 114e0ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/linux/squeak.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ if [[ -d ${ROOT}/bin ]]; then
2727
BINDIR="${ROOT}/bin"
2828
RESOURCES="${ROOT}/shared"
2929
else # all-in-one bundle
30-
aioAppPath="${ROOT}/%AIO_APP_NAME%"
31-
BINDIR="${aioAppPath}/Contents/Linux-${CPU}/"
32-
RESOURCES="${aioAppPath}/Contents/Resources/"
33-
IMAGE="${RESOURCES}/%SqueakImageName%"
3430
IMAGE_BITS="%IMAGE_BITS%"
35-
3631
if [[ "${IMAGE_BITS}" == "32" ]]; then
3732
case "${CPU}" in
3833
"x86_64")
@@ -45,6 +40,11 @@ else # all-in-one bundle
4540
;;
4641
esac
4742
fi
43+
44+
aioAppPath="${ROOT}/%AIO_APP_NAME%"
45+
BINDIR="${aioAppPath}/Contents/Linux-${CPU}/"
46+
RESOURCES="${aioAppPath}/Contents/Resources/"
47+
IMAGE="${RESOURCES}/%SqueakImageName%"
4848
fi
4949

5050
VM="${BINDIR}/${APP}"

0 commit comments

Comments
 (0)