gitto/env
Tom Willemsen a0fb2ed62c 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.
2012-07-31 02:21:38 +02:00

7 lines
248 B
Bash
Executable file

#!/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 "$@"