pharo6: Minor fixes and cleanups

This commit is contained in:
Luke Gorrie
2017-06-29 18:09:06 +00:00
parent fdb90f6df7
commit 54be67dbd0
3 changed files with 15 additions and 16 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
cat > $prefix/bin/${executable-name} <<EOF
#!${bash}/bin/bash
exec ${pharo}/bin/pharo $prefix/share/pharo-launcher/pharo-launcher.image
exec "${pharo}/bin/pharo" $prefix/share/pharo-launcher/pharo-launcher.image
EOF
chmod +x $prefix/bin/${executable-name}
'';
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
secs=5
echo -n "Running headless Pharo for $secs seconds to check for a crash... "
timeout $secs \
${pharo}/bin/pharo -nodisplay PharoLauncher.image --no-quit eval 'true'
"${pharo}/bin/pharo" -nodisplay PharoLauncher.image --no-quit eval 'true'
test "$?" == 124 && echo "ok")
'';