summaryrefslogtreecommitdiff
path: root/src/pre-inst-skribilo.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/pre-inst-skribilo.in')
-rwxr-xr-xsrc/pre-inst-skribilo.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pre-inst-skribilo.in b/src/pre-inst-skribilo.in
index 3a5c0d8..eb93e8e 100755
--- a/src/pre-inst-skribilo.in
+++ b/src/pre-inst-skribilo.in
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2007 Ludovic Courtès <ludo@gnu.org>
+# Copyright 2007, 2009 Ludovic Courtès <ludo@gnu.org>
#
#
# This program is free software; you can redistribute it and/or modify
@@ -21,6 +21,9 @@
# A pre-installation `skribilo' executable that makes sure to load
# stuff from the source directory rather than the installation directory.
+GUILE_LOAD_COMPILED_PATH="@abs_top_builddir@/src/guile:$GUILE_LOAD_COMPILED_PATH"
+export GUILE_LOAD_COMPILED_PATH
+
main='(module-ref (resolve-interface '\''(skribilo)) '\'skribilo')'
exec ${GUILE-@GUILE@} -L "@abs_top_srcdir@/src/guile" \
-L "@abs_top_builddir@/src/guile" \