~hilaire-fernandes/drgeo/trunk

« back to all changes in this revision

Viewing changes to VMs/xo/vm-2011-02-20/bin/squeak

  • Committer: Hilaire Fernandes
  • Date: 2012-01-27 21:15:40 UTC
  • Revision ID: hilaire.fernandes@gmail.com-20120127211540-912spf97bhpx6mve
Initial additions

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
BIN=`/usr/bin/dirname $0`/../lib/squeak/3.9-7
 
3
# At least on linux LD_LIBRARY_PATH's components must be absolute path names
 
4
case "$BIN" in
 
5
/*) PLUGINS="$BIN";;
 
6
*) PLUGINS="`pwd`/$BIN"
 
7
esac
 
8
# prepending is less flexible but safer because it ensures we find the plugins
 
9
# in the same directory as the VM.
 
10
LD_LIBRARY_PATH=$PLUGINS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} exec "$BIN/squeak" "$@"