diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-13 06:20:09 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-13 06:20:09 +0100 |
commit | 079b9ab9ce350a1de6ce4cba593e938e910a01df (patch) | |
tree | aa238274b83f10624af8d4d3d862df6ef3230a80 | |
parent | Fix minor problems. (diff) | |
download | rss-filter-079b9ab9ce350a1de6ce4cba593e938e910a01df.tar.gz rss-filter-079b9ab9ce350a1de6ce4cba593e938e910a01df.tar.xz |
Fix pre-install main.
-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" "$@" |