X-Git-Url: https://jxself.org/git/?p=mudsync.git;a=blobdiff_plain;f=env.in;fp=env.in;h=a681bdcfaa5981d18e935cb5ebf508a9dc6f9473;hp=0000000000000000000000000000000000000000;hb=7b2886381596de9b115aeedbac4787e8f0bb483a;hpb=d9edc0edd5263888911dae51c113cb536b5c62f2 diff --git a/env.in b/env.in new file mode 100644 index 0000000..a681bdc --- /dev/null +++ b/env.in @@ -0,0 +1,16 @@ +#!/bin/sh + +## Also borrowed from guile-opengl, which is GPLv3+ + +GUILE_LOAD_PATH=@abs_top_srcdir@:$GUILE_LOAD_PATH +if test "@abs_top_srcdir@" != "@abs_top_builddir@"; then + GUILE_LOAD_PATH=@abs_top_builddir@:$GUILE_LOAD_PATH +fi +GUILE_LOAD_COMPILED_PATH=@abs_top_builddir@:$GUILE_LOAD_PATH +PATH=@abs_top_builddir@/bin:$PATH + +export GUILE_LOAD_PATH +export GUILE_LOAD_COMPILED_PATH +export PATH + +exec "$@"