In boilerplate, use -l$0. Thanks to Daniel Skarda.
This commit is contained in:
parent
9be745030e
commit
8c914f6b69
9 changed files with 9 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
# aside from this initial boilerplate, this is actually -*- scheme -*- code
|
||||
main="(module-ref (resolve-module '(scripts snarf-check-and-output-texi)) 'main)"
|
||||
exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
|
||||
exec ${GUILE-guile} -l $0 -c "(apply $main (cdr (command-line)))" "$@"
|
||||
!#
|
||||
;;; snarf-check-and-output-texi --- called by the doc snarfer.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue