Skip to content

Instantly share code, notes, and snippets.

@stesh
Created February 4, 2014 02:02
Show Gist options
  • Save stesh/8796219 to your computer and use it in GitHub Desktop.
Save stesh/8796219 to your computer and use it in GitHub Desktop.
Overcoming library path silliness in SWI Prolog on OS X
#!/bin/sh
app="/Applications/SWI-Prolog.app"
export SWI_HOME_DIR="$app/Contents/swipl"
exec "$app/Contents/MacOS/$(basename $0)" $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment