Idris2/bootstrap/idris2-boot

16 lines
342 B
Plaintext
Raw Normal View History

#!/bin/sh
case `uname -s` in
OpenBSD|FreeBSD|NetBSD)
DIR="`grealpath $0`"
;;
*)
DIR="`realpath $0`"
;;
esac
2020-05-20 16:27:26 +03:00
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`dirname "$DIR"`/"idris2_app""
2020-05-20 19:14:38 +03:00
export PATH="`dirname "$DIR"`/"idris2_app":$PATH"
2020-05-20 16:27:26 +03:00
${SCHEME} --script "`dirname $DIR`"/"idris2_app/idris2-boot.so" "$@"