Mercurial > hg > anonet-resdb
annotate 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 |
rev | line source |
---|---|
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
1 #!/bin/bash |
679 | 2 echo 'checking for python' |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
3 if which python >/dev/null; then |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
4 : |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
5 else |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
6 echo 'python not found. Quiting... :-(' |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
7 exit 1 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
8 fi |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
9 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
10 echo 'checking for man' |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
11 if which man >/dev/null; then |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
12 : |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
13 else |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
14 echo 'man not found. Quiting... :-(' |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
15 exit 1 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
16 fi |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
17 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
18 echo 'configuring path to python' |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
19 PYPATH=`which python` |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
20 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
21 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp |