mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 09:49:24 +03:00
4f0c262ddc
and probably for other *BSD operating systems with minor tweaks
16 lines
320 B
Bash
Executable File
Vendored
16 lines
320 B
Bash
Executable File
Vendored
#!/bin/sh
|
|
|
|
case `uname -s` in
|
|
OpenBSD|FreeBSD|NetBSD)
|
|
DIR="`grealpath $0`"
|
|
;;
|
|
|
|
*)
|
|
DIR="`realpath $0`"
|
|
;;
|
|
esac
|
|
|
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`dirname "$DIR"`/"idris2_app""
|
|
export PATH="`dirname "$DIR"`/"idris2_app":$PATH"
|
|
"`dirname $DIR`"/"idris2_app/idris2-boot" "$@"
|