summaryrefslogtreecommitdiff
path: root/contrib/splicex/configure
blob: 4b000f14f25d5f49d075bfe69b84f8aeb4be6dcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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