mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
Allow to run chibi-run from anywhere
chibi-run script assumes $(PWD) is at topdir. Let's remove that assumption so that the script can be used anywhere to launch chibi from dev environment.
This commit is contained in:
parent
3161edbe86
commit
b678abbce7
1 changed files with 3 additions and 1 deletions
|
@ -1 +1,3 @@
|
|||
LD_LIBRARY_PATH=.: DYLD_LIBRARY_PATH=.: CHIBI_MODULE_PATH=lib ./chibi-scheme "$@"
|
||||
#!/bin/sh
|
||||
DIR="$(dirname "$0")/.."
|
||||
LD_LIBRARY_PATH="$DIR": DYLD_LIBRARY_PATH="$DIR": CHIBI_MODULE_PATH="$DIR"/lib "$DIR"/chibi-scheme "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue