Changeset 11367 for fact/tools
- Timestamp:
- 07/13/11 07:36:09 (13 years ago)
- Location:
- fact/tools/Scripts
- Files:
-
- 4 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/Scripts/Logon
r10913 r11367 1 1 #!/bin/bash 2 3 2 # This script should be sourced at log on (e.g. in .bashrc) 4 3 5 export REPOS_DIR=$1 4 # Determine absolute path of this script 5 pushd `dirname $0` >/dev/null 6 SCRIPTPATH=`pwd` 7 popd >/dev/null 8 9 # Set environment variables if not yet set 6 10 if [ -z "$DIM_DNS_NODE" ]; then export DIM_DNS_NODE=ihp-pc1.ethz.ch; fi 7 export DIM_HOST_NODE=$HOST.ethz.ch 11 if [ -z "$DIM_HOST_NODE" ]; then export DIM_HOST_NODE=`hostname`.ethz.ch; fi 8 12 if [ -z "$DIMDIR" ]; then export DIMDIR=/usr/local/dim/; fi 9 13 if [ -z "$QWTDIR" ]; then export QWTDIR=/usr/local/qwt/; fi 10 14 if [ -z "$QTDIR" ]; then export QTDIR=/usr/local/Trolltech/Qt-4.6.2; fi 11 15 16 #Set paths 12 17 export LD_LIBRARY_PATH=$QWTDIR/lib:$DIMDIR/linux:$LD_LIBRARY_PATH 13 export PATH=$DIMDIR/linux:$REPOS_DIR/tools/Scripts:$QTDIR/bin:.:$PATH 18 export PATH=$DIMDIR/linux:$SCRIPTPATH:$SCRIPTPATH/../Edd:$PATH 19 export PATH=.:$SCRIPTPATH/../../FADctrl:$QTDIR/bin:$PATH -
fact/tools/Scripts/updateall
r119 r11367 1 1 #!/bin/bash 2 3 2 # Script to update the fact repository and make all programs 4 3 5 pushd ~/fact_repos .svn>/dev/null4 pushd ~/fact_repos >/dev/null 6 5 7 6 echo -n "Hit enter to update the repository" … … 9 8 svn update 10 9 11 echo -n "Hit enter to make drsdaq"10 echo -n "Hit enter to make FADctrl" 12 11 read 13 make -C drsdaqclean14 make -C drsdaq12 make -C FADctrl clean 13 make -C FADctrl 15 14 16 echo -n "Hit enter to make hvcontrol"15 echo -n "Hit enter to make BIASctrl" 17 16 read 18 make -C hvcontrol clean19 make -C hvcontrol17 make -C BIASctrl clean 18 make -C BIASctrl 20 19 21 echo -n "Hit enter to make ddd"20 echo -n "Hit enter to make FSCctrl" 22 21 read 23 cd tools/ddd 22 make -C BIASctrl clean 23 make -C BIASctrl 24 25 echo -n "Hit enter to make Feedback" 26 read 27 make -C Feedback clean 28 make -C Feedback 29 30 echo -n "Hit enter to make Edd" 31 read 32 cd tools/Edd 24 33 make clean 25 34 qmake
Note:
See TracChangeset
for help on using the changeset viewer.