Mercurial > hg > anonet-resdb
comparison 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 |
comparison
equal
deleted
inserted
replaced
684:937136aa8df7 | 685:39369594be19 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 clear | |
2 echo " | 3 echo " |
3 __________ _ _ __ __ ______ | 4 __________ _ _ __ __ ______ |
4 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / / | 5 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / / |
5 / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / / | 6 / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / / |
6 / / / / ___) | |_) | | | (_| __// \\ / / / / | 7 / / / / ___) | |_) | | | (_| __// \\ / / / / |
13 if [[ $(id -u) != 0 ]]; then | 14 if [[ $(id -u) != 0 ]]; then |
14 echo 'root privileges required!..Quiting...' | 15 echo 'root privileges required!..Quiting...' |
15 exit 1 | 16 exit 1 |
16 fi | 17 fi |
17 | 18 |
18 sleep 1 | 19 sleep .7 |
19 echo 'CONFIGURE: ' | 20 echo 'CONFIGURE: ' |
20 sleep 1 | 21 sleep .7 |
21 echo -ne 'checking for python' | 22 echo -ne 'checking for python' |
22 sleep 1 | 23 sleep .7 |
23 echo -ne '.' | 24 echo -ne '.' |
24 sleep 1 | 25 sleep .7 |
25 echo -ne '.' | 26 echo -ne '.' |
26 sleep 1 | 27 sleep .7 |
27 echo -ne '.' | 28 echo -ne '.' |
28 if which python >/dev/null; then | 29 if which python >/dev/null; then |
29 sleep 1 | 30 sleep .7 |
30 echo -ne ' python found :-)' | 31 echo -ne ' python found :-)' |
31 echo | 32 echo |
32 sleep 1 | 33 sleep .7 |
33 else | 34 else |
34 sleep 1 | 35 sleep .7 |
35 echo -ne ' python not found. Quiting... :-(' | 36 echo -ne ' python not found. Quiting... :-(' |
36 echo | 37 echo |
37 exit 1 | 38 exit 1 |
38 fi | 39 fi |
39 | 40 |
40 echo -ne 'checking for man' | 41 echo -ne 'checking for man' |
41 sleep 1 | 42 sleep .7 |
42 echo -ne '.' | 43 echo -ne '.' |
43 sleep 1 | 44 sleep .7 |
44 echo -ne '.' | 45 echo -ne '.' |
45 sleep 1 | 46 sleep .7 |
46 echo -ne '.' | 47 echo -ne '.' |
47 if which man >/dev/null; then | 48 if which man >/dev/null; then |
48 sleep 1 | 49 sleep .7 |
49 echo -ne ' man found :-)' | 50 echo -ne ' man found :-)' |
50 echo | 51 echo |
51 sleep 1 | 52 sleep .7 |
52 else | 53 else |
53 sleep 1 | 54 sleep .7 |
54 echo -ne ' man not found. Quiting... :-(' | 55 echo -ne ' man not found. Quiting... :-(' |
55 echo | 56 echo |
56 exit 1 | 57 exit 1 |
57 fi | 58 fi |
58 | 59 |
59 PYPATH=`which python` | 60 PYPATH=`which python` |
60 echo "configuring splicex for $PYPATH" | 61 echo "configuring splicex for $PYPATH" |
61 sleep 1 | 62 sleep .7 |
62 echo -ne '.' | 63 echo -ne '.' |
63 sleep 1 | 64 sleep .7 |
64 echo -ne '.' | 65 echo -ne '.' |
65 sleep 1 | 66 sleep .7 |
66 echo -ne '.' | 67 echo -ne '.' |
67 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp | 68 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp |
68 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp | 69 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp |
69 echo "configured...continuing \`make install'" | 70 echo "configured...continuing \`make install'" |
70 sleep 1 | 71 sleep .7 |
71 echo | 72 echo |
72 echo 'INSTALL: ' | 73 echo 'INSTALL: ' |
73 sleep 1 | 74 sleep .7 |