view contrib/splicex/configure @ 679:672cff12da62 draft

splicex changes
author resdb <resdb@d3v11-VM.(none)>
date Sat, 22 Oct 2011 14:50:06 -0500
parents 93a5484092a2
children 14a390660911
line wrap: on
line source

#!/bin/bash
echo 'checking for python'
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