diff options
-rwxr-xr-x | pre-install-main | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pre-install-main b/pre-install-main index 65e8bc8..a2e069d 100755 --- a/pre-install-main +++ b/pre-install-main @@ -1,3 +1,4 @@ #!/bin/sh -export GUILE_LOAD_PATH="$(dirname $(realpath $0))/module" -exec module/main.scm +here="$(dirname "$(realpath "$0")")" +export GUILE_LOAD_PATH="${here}/module" +exec "${here}/main.scm" "$@" |