diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2001-08-01 05:09:30 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2001-08-01 05:09:30 +0000 |
commit | 8c914f6b696392a0e451e060cab9c66ca00f25d7 (patch) | |
tree | c4be4a949e1cdff9203e0f094ba2d03e42109773 /scripts/PROGRAM | |
parent | 9be745030e215de6a0ee5e14e0d1e5c0398c704f (diff) | |
download | guile-8c914f6b696392a0e451e060cab9c66ca00f25d7.tar.gz |
In boilerplate, use -l$0. Thanks to Daniel Skarda.
Diffstat (limited to 'scripts/PROGRAM')
-rwxr-xr-x | scripts/PROGRAM | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/PROGRAM b/scripts/PROGRAM index 3511ccdfc..69a655949 100755 --- a/scripts/PROGRAM +++ b/scripts/PROGRAM @@ -1,7 +1,7 @@ #!/bin/sh # aside from this initial boilerplate, this is actually -*- scheme -*- code main='(module-ref (resolve-module '\''(scripts PROGRAM)) '\'main')' -exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@" +exec ${GUILE-guile} -l $0 -c "(apply $main (cdr (command-line)))" "$@" !# ;;; PROGRAM --- Does something |