summaryrefslogtreecommitdiff
path: root/contrib/splicex/configure
diff options
context:
space:
mode:
authorresdb <resdb@d3v11-VM.(none)>2011-10-22 14:43:31 -0500
committerresdb <resdb@d3v11-VM.(none)>2011-10-22 14:43:31 -0500
commitfd78bbc2ba54cad2ae26019669c74a2c05464c9f (patch)
treef5ac78dd6ffb772e1355118a36cb6d40856d16d8 /contrib/splicex/configure
parentd65d5158288dd72b993fd2d44239c3f3d0247976 (diff)
downloadresdb-fd78bbc2ba54cad2ae26019669c74a2c05464c9f.tar.gz
resdb-fd78bbc2ba54cad2ae26019669c74a2c05464c9f.zip
removed splice3 and added splicex
Diffstat (limited to 'contrib/splicex/configure')
-rwxr-xr-xcontrib/splicex/configure21
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