diff options
Diffstat (limited to 'contrib/splicex/configure')
-rwxr-xr-x | contrib/splicex/configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/splicex/configure b/contrib/splicex/configure new file mode 100755 index 0000000..4b000f1 --- /dev/null +++ b/contrib/splicex/configure @@ -0,0 +1,21 @@ +#!/bin/bash +echo 'checking for python2.7' +if which python >/dev/null; then + : +else + echo 'python not found. Quiting... :-(' + exit 1 +fi + +echo 'checking for man' +if which man >/dev/null; then + : +else + echo 'man not found. Quiting... :-(' + exit 1 +fi + +echo 'configuring path to python' +PYPATH=`which python` +sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp +sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp |