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