blob: 8b710efcadf11d412c62f97a8f0fd1a806e49e02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
set -e
MORPH="${MORPH:-"$(which morph)"}"
BASE="$(dirname "$0")"
BASE="${BASE:-.}"
BASE="$(realpath "${BASE}")"
PYTHONPATH="${BASE}${PYTHONPATH:+:${PYTHONPATH}}"
export PYTHONPATH
MORPH_PLUGIN_PATH="$(python -c 'from os.path import *; import firehose; print(abspath(dirname(firehose.__file__)))')/plugin"
export MORPH_PLUGIN_PATH
exec "${MORPH}" firehose "$@"
|