From a0fb2ed62c21c3d9909a3202e73ac44b5a8fac40 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 31 Jul 2012 02:21:38 +0200 Subject: Seperate settings to env Set environment settings in `env' and have `run-gitto' use it, this makes it easy for other commands (like make) to utilize this as well. * env: New file, set environment variables needed to do anything with gitto outside of an installed state. * run-gitto: Move environment settings to `env' and just run it. --- env | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 env (limited to 'env') diff --git a/env b/env new file mode 100755 index 0000000..f555499 --- /dev/null +++ b/env @@ -0,0 +1,7 @@ +#!/bin/sh + +export GUILE_LOAD_PATH="$(dirname $(realpath $0)):$GUILE_LOAD_PATH" +export GUILE_LOAD_COMPILED_PATH="$(dirname $(realpath $0)):$GUILE_LOAD_COMPILED_PATH" +export LD_LIBRARY_PATH="$(dirname $(realpath $0))/src:$LD_LIBRARY_PATH" + +exec "$@" -- cgit v1.2.3-54-g00ecf