From c2bf2f9961bea6c382fe17bbf1057a58ce6a3d2b Mon Sep 17 00:00:00 2001 From: Firehose merge bot Date: Thu, 7 Aug 2014 09:25:45 +0100 Subject: More firehose bits --- morph | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 morph (limited to 'morph') diff --git a/morph b/morph new file mode 100755 index 0000000..d92fe4c --- /dev/null +++ b/morph @@ -0,0 +1,17 @@ +#!/bin/sh + +MORPH="${MORPH:-$(which morph)}" + +BASE="$(dirname $0)" +BASE="${BASE:-.}" +BASE="$(realpath ${BASE})" + +MORPH_PLUGIN_PATH="${BASE}/plugin" + +export MORPH_PLUGIN_PATH + +PYTHONPATH="${BASE}${PYTHONPATH:+:${PYTHONPATH}}:" + +export PYTHONPATH + +exec ${MORPH} "$@" -- cgit v1.2.1