pre-inst-env.in
| 1 | #!/bin/sh |
| 2 | |
| 3 | abs_top_srcdir="`cd "@abs_top_srcdir@" > /dev/null; pwd`" |
| 4 | abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd`" |
| 5 | |
| 6 | GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH" |
| 7 | GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH" |
| 8 | export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH |
| 9 | export GUILE_AUTO_COMPILE=0 |
| 10 | |
| 11 | PATH="$abs_top_builddir:$PATH" |
| 12 | export PATH |
| 13 | |
| 14 | # Define $NETLINK_UNINSTALLED to prevent 'acpi-listener' from prepending |
| 15 | # @moduledir@ to the Guile load paths. |
| 16 | NETLINK_UNINSTALLED=1 |
| 17 | export NETLINK_UNINSTALLED |
| 18 | |
| 19 | exec "$@" |
| 20 |