Hi,
On unix systems, squirrel would probably be installed in an layout like
this
---
/usr/bin/squirrel
/usr/share/squirrel/lib
... /plugins
---
Currently, the shellscript assumes, that it is installed in the
same directory; worse, it requires to be started in the same directory
the shellscript resides in, because it looks in relative paths.
So I'd like to suggest two things
1)
create a layout in dist of the form
bin/squirrel
share/squirrel/...
that can be moved everywhere by the system administrator (usually /usr,
/usr/local or /opt)
2) make the shellscript independent from where it was called. This can
simply be done by setting a variable like
SQUIRREL_HOME=`dirname $0`/../share/squirrel
.. and set the rest accordingly.
See attached shellscript.
Keep up the good work!
-hen
|