Revision 6,
913 bytes
checked in by ajaworski, 13 years ago
(diff) |
Added scripts from tile machine
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #! /bin/bash |
---|
2 | if [ -z "$1" ] |
---|
3 | then |
---|
4 | echo "Need to pass argument 'trunk', 'testing' or 'experimental'" |
---|
5 | exit |
---|
6 | fi |
---|
7 | |
---|
8 | if [ "$1" != "trunk" -a "$1" != "testing" -a "$1" != "experimental" ] |
---|
9 | then |
---|
10 | echo "Need to pass argument 'trunk', 'testing' or 'experimental'" |
---|
11 | exit |
---|
12 | fi |
---|
13 | |
---|
14 | recompilesage $1 |
---|
15 | |
---|
16 | for i in `cat ~/bin/tiles_list` |
---|
17 | do |
---|
18 | echo $i | grep "^#" > /dev/null 2> /dev/null |
---|
19 | if [ $? != "0" ] |
---|
20 | then |
---|
21 | if [ "$1" == "testing" -o "$1" == "experimental" ] |
---|
22 | then |
---|
23 | echo "Transfering SAGE [$1] to $i" |
---|
24 | scp -r ~/SAGE/$1/src/*.cpp $i:~/SAGE/$1/src > /dev/null |
---|
25 | scp -r ~/SAGE/$1/src/*.h $i:~/SAGE/$1/src > /dev/null |
---|
26 | scp -r ~/SAGE/$1/src/*.m $i:~/SAGE/$1/src > /dev/null |
---|
27 | scp -r ~/SAGE/$1/src/Makefile $i:~/SAGE/$1/src > /dev/null |
---|
28 | scp -r ~/SAGE/$1/Makefile $i:~/SAGE/$1 > /dev/null |
---|
29 | scp -r ~/SAGE/$1/include/* $i:~/SAGE/$1/include > /dev/null |
---|
30 | fi |
---|
31 | ssh $i ~/bin/recompilesage $1 & |
---|
32 | fi |
---|
33 | done |
---|
34 | |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.