comparison contrib/splicex/configure @ 681:14a390660911 draft

splicex additions made
author resdb <resdb@d3v11-VM.(none)>
date Sat, 22 Oct 2011 16:33:25 -0500
parents 672cff12da62
children a785c7cf4b6a
comparison
equal deleted inserted replaced
680:c5431d979670 681:14a390660911
1 #!/bin/bash 1 #!/bin/bash
2 echo 'checking for python' 2 clear
3
4 echo "
5 __________ _ _ __ __ ______
6 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
7 / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / /
8 / / / / ___) | |_) | | | (_| __// \\ / / / /
9 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/
10 |_|
11
12 .:Brute Force Utilities For GNU/Linux:.
13 "
14
15 sleep 1
16 echo 'CONFIGURE: '
17 sleep 1
18 echo -ne 'checking for python'
19 sleep 1
20 echo -ne '.'
21 sleep 1
22 echo -ne '.'
23 sleep 1
24 echo -ne '.'
3 if which python >/dev/null; then 25 if which python >/dev/null; then
4 : 26 sleep 1
27 echo -ne 'python found :-)'
28 echo
29 sleep 1
5 else 30 else
6 echo 'python not found. Quiting... :-(' 31 sleep 1
32 echo -ne 'python not found. Quiting... :-('
33 echo
7 exit 1 34 exit 1
8 fi 35 fi
9 36
10 echo 'checking for man' 37 echo -ne 'checking for man'
38 sleep 1
39 echo -ne '.'
40 sleep 1
41 echo -ne '.'
42 sleep 1
43 echo -ne '.'
11 if which man >/dev/null; then 44 if which man >/dev/null; then
12 : 45 sleep 1
46 echo -ne 'man found :-)'
47 echo
48 sleep 1
13 else 49 else
14 echo 'man not found. Quiting... :-(' 50 sleep 1
51 echo -ne 'man not found. Quiting... :-('
52 echo
15 exit 1 53 exit 1
16 fi 54 fi
17 55
18 echo 'configuring path to python'
19 PYPATH=`which python` 56 PYPATH=`which python`
57 echo "configuring splicex for $PYPATH"
58 sleep 1
59 echo -ne '.'
60 sleep 1
61 echo -ne '.'
62 sleep 1
63 echo -ne '.'
20 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp 64 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 65 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp
66 echo "configured...continuing \`make install'"
67 sleep 1
68 echo
69 echo 'INSTALL: '
70 sleep 1