678
|
1 #!/bin/bash |
|
2 echo 'checking for python2.7' |
|
3 if which python >/dev/null; then |
|
4 : |
|
5 else |
|
6 echo 'python not found. Quiting... :-(' |
|
7 exit 1 |
|
8 fi |
|
9 |
|
10 echo 'checking for man' |
|
11 if which man >/dev/null; then |
|
12 : |
|
13 else |
|
14 echo 'man not found. Quiting... :-(' |
|
15 exit 1 |
|
16 fi |
|
17 |
|
18 echo 'configuring path to python' |
|
19 PYPATH=`which python` |
|
20 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp |
|
21 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp |