diff options
author | d3v11 <d3v11@d3v11.ano> | 2011-10-01 14:01:03 -0500 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2011-10-01 14:01:03 -0500 |
commit | ffbfb124f942c709352cc1f4c79fd68b7344e0c0 (patch) | |
tree | d562a39527ea8194cf36a0c749f9cf469904e64c /contrib/splice3/setup | |
parent | 2c98dc0f34a50afd5f17c0c81cef5f64c4c7b26e (diff) | |
download | resdb-ffbfb124f942c709352cc1f4c79fd68b7344e0c0.tar.gz resdb-ffbfb124f942c709352cc1f4c79fd68b7344e0c0.zip |
added configurations to splice3 installations
Diffstat (limited to 'contrib/splice3/setup')
-rwxr-xr-x | contrib/splice3/setup | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/splice3/setup b/contrib/splice3/setup new file mode 100755 index 0000000..109f9d4 --- /dev/null +++ b/contrib/splice3/setup @@ -0,0 +1,21 @@ +#!/bin/bash +echo 'checking for python2.7' +if which python2.7 >/dev/null; then + : +else + echo 'python2.7 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 python2.7' +PYPATH=`which python2.7` +sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3.py >LINUX/splice3.cp +sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3-deshadow.py >LINUX/splice3-deshadow.cp |