Changeset 27524
- Timestamp:
- 2013-05-31T19:35:58+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/task
r21711 r27524 1 1 #!/bin/bash 2 3 export DATA_DIR=$TASK_HOME/diffcol-data 4 export UPLOAD_DIR=$TASK_HOME/diffcol-reports 5 export [email protected] 2 6 3 7 #check key environment vars are set … … 56 60 #svn checkout of main gsdl directory 57 61 echo "checkout gsdl:" 58 svn co http://svn.greenstone.org/ gsdl/trunkgsdl62 svn co http://svn.greenstone.org/main/trunk/greenstone2 gsdl 59 63 echo "done" 60 64 61 65 cd $DATA_DIR/gsdl 62 66 63 #svn checkout of indexers 64 echo "checkout indexers: " 65 svn co http://svn.greenstone.org/indexers/trunk indexers 66 echo "done" 67 68 # since this is a bash script, we're on linux/darwin, need gnome-lib 69 # for the correct architecture. Assume all darwin is intel, not ppc 70 echo "setting up gnome-lib-minimal for compilation" 71 72 # http://stackoverflow.com/questions/394230/detect-the-os-from-a-bash-script 73 os='linux'; 74 gl_suffix=$os; 75 if [[ "$OSTYPE" == "darwin"* ]]; then 76 os='darwin'; 77 gl_suffix=$os'-intel'; 78 else 79 # linux, worl out the bit arch 80 arch=`uname -m` 81 if [[ "$arch" == *"64"* ]]; then 82 arch='64'; 83 gl_suffix=$gl_suffix'-x64'; 84 else 85 arch='32'; 86 fi 87 fi 88 89 90 #svn checkout gnome-lib for this linux/darwin 91 cd $DATA_DIR/gsdl/ext 92 93 # svn export http://svn.greenstone.org/gs2-extensions/gnome-lib/trunk/gnome-lib-minimal-linux-x64.tar.gz gl.tar.gz 94 svn export http://svn.greenstone.org/gs2-extensions/gnome-lib/trunk/gnome-lib-minimal-$gl_suffix.tar.gz gl.tar.gz 95 tar xvzf gl.tar.gz 96 cd gnome-lib-minimal 97 source devel.bash 98 99 cd ../.. 100 67 101 68 102 #configure … … 179 213 echo "result: "$result 180 214 if [ "$result" != "yes" ]; then 181 echo 'gsdl regression test for '$dateid' failed' | mail -s $1' Regression Test Failed' $WEBMASTER_EMAIL 215 echo 'gsdl regression test for '$dateid' failed' | mail -s $1' Regression Test Failed' $MONITOR_EMAIL 216 #$WEBMASTER_EMAIL 182 217 fi 183 218 echo "done"
Note:
See TracChangeset
for help on using the changeset viewer.