summaryrefslogtreecommitdiff
path: root/scripts/PROGRAM
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2001-08-01 05:09:30 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2001-08-01 05:09:30 +0000
commit8c914f6b696392a0e451e060cab9c66ca00f25d7 (patch)
treec4be4a949e1cdff9203e0f094ba2d03e42109773 /scripts/PROGRAM
parent9be745030e215de6a0ee5e14e0d1e5c0398c704f (diff)
downloadguile-8c914f6b696392a0e451e060cab9c66ca00f25d7.tar.gz
In boilerplate, use -l$0. Thanks to Daniel Skarda.
Diffstat (limited to 'scripts/PROGRAM')
-rwxr-xr-xscripts/PROGRAM2
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