summaryrefslogtreecommitdiff
path: root/libguile/guile-doc-snarf.in
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1999-12-14 21:28:28 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1999-12-14 21:28:28 +0000
commit904f5d528ebc2096702f6ddd13d54f3bc971857d (patch)
treee67d67b19d0f0c8e70654ee562ade148f570a839 /libguile/guile-doc-snarf.in
parent5416c390149288e093edd2ac2595d1fcc226961e (diff)
downloadguile-904f5d528ebc2096702f6ddd13d54f3bc971857d.tar.gz
Fix
Diffstat (limited to 'libguile/guile-doc-snarf.in')
-rwxr-xr-xlibguile/guile-doc-snarf.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/guile-doc-snarf.in b/libguile/guile-doc-snarf.in
index 4570acc79..9ace981de 100755
--- a/libguile/guile-doc-snarf.in
+++ b/libguile/guile-doc-snarf.in
@@ -1,7 +1,7 @@
#!/bin/sh
# Extract the initialization actions for builtin things.
-filename=`basename $1`; shift
+filename=$1; shift
# we need to be sure that the .x file exists
# since the .c/.cc file may include it
@@ -22,4 +22,3 @@ test -n "${CPP+set}" || CPP="@CPP@"
## need to know if CPP exits with a non-zero status.
${CPP} -DSCM_MAGIC_SNARFER "$@" > ${temp} || exit $?
< ${temp} awk -f `dirname $0`/guile-snarf.awk `basename $filename`
-