mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
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.
3 lines
139 B
Bash
Executable file
3 lines
139 B
Bash
Executable file
#!/bin/sh
|
|
DIR="$(dirname "$0")/.."
|
|
LD_LIBRARY_PATH="$DIR": DYLD_LIBRARY_PATH="$DIR": CHIBI_MODULE_PATH="$DIR"/lib "$DIR"/chibi-scheme "$@"
|