Mercurial > hg > anonet-resdb
annotate contrib/splicex/configure @ 682:a785c7cf4b6a draft
splicex stuff
author | resdb <resdb@d3v11-VM.(none)> |
---|---|
date | Sat, 22 Oct 2011 17:49:18 -0500 |
parents | 14a390660911 |
children | 39369594be19 |
rev | line source |
---|---|
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
1 #!/bin/bash |
681 | 2 echo " |
3 __________ _ _ __ __ ______ | |
4 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / / | |
5 / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / / | |
6 / / / / ___) | |_) | | | (_| __// \\ / / / / | |
7 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/ | |
8 |_| | |
9 | |
10 .:Brute Force Utilities For GNU/Linux:. | |
11 " | |
12 | |
682 | 13 if [[ $(id -u) != 0 ]]; then |
14 echo 'root privileges required!..Quiting...' | |
15 exit 1 | |
16 fi | |
17 | |
681 | 18 sleep 1 |
19 echo 'CONFIGURE: ' | |
20 sleep 1 | |
21 echo -ne 'checking for python' | |
22 sleep 1 | |
23 echo -ne '.' | |
24 sleep 1 | |
25 echo -ne '.' | |
26 sleep 1 | |
27 echo -ne '.' | |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
28 if which python >/dev/null; then |
681 | 29 sleep 1 |
682 | 30 echo -ne ' python found :-)' |
681 | 31 echo |
32 sleep 1 | |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
33 else |
681 | 34 sleep 1 |
682 | 35 echo -ne ' python not found. Quiting... :-(' |
681 | 36 echo |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
37 exit 1 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
38 fi |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
39 |
681 | 40 echo -ne 'checking for man' |
41 sleep 1 | |
42 echo -ne '.' | |
43 sleep 1 | |
44 echo -ne '.' | |
45 sleep 1 | |
46 echo -ne '.' | |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
47 if which man >/dev/null; then |
681 | 48 sleep 1 |
682 | 49 echo -ne ' man found :-)' |
681 | 50 echo |
51 sleep 1 | |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
52 else |
681 | 53 sleep 1 |
682 | 54 echo -ne ' man not found. Quiting... :-(' |
681 | 55 echo |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
56 exit 1 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
57 fi |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
58 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
59 PYPATH=`which python` |
681 | 60 echo "configuring splicex for $PYPATH" |
61 sleep 1 | |
62 echo -ne '.' | |
63 sleep 1 | |
64 echo -ne '.' | |
65 sleep 1 | |
66 echo -ne '.' | |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
67 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
|
68 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp |
681 | 69 echo "configured...continuing \`make install'" |
70 sleep 1 | |
71 echo | |
72 echo 'INSTALL: ' | |
73 sleep 1 |