view contrib/splice3/setup @ 664:e5e8f0075b1e draft

Merge commit 'f93f56b05f411e9b848147d887b3deb0ca75525e'
author Nick <nick@somerandomnick.ano>
date Sun, 09 Oct 2011 06:27:33 +0000
parents 15bbd88257a6
children
line wrap: on
line source

#!/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