[PD-cvs] scripts automated-builder.sh,1.2,1.3

Hans-Christoph Steiner eighthave at users.sourceforge.net
Wed Jul 19 17:19:06 CEST 2006


Update of /cvsroot/pure-data/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29347

Modified Files:
	automated-builder.sh 
Log Message:
added standardized logging

Index: automated-builder.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/automated-builder.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** automated-builder.sh	19 Jul 2006 14:41:10 -0000	1.2
--- automated-builder.sh	19 Jul 2006 15:19:04 -0000	1.3
***************
*** 3,12 ****
  # this script is the first attempt to have an automated updater and builder
  
- auto_build_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/..
  SYSTEM=`uname -s`
  DATE=`date +%Y-%m-%d`
  TIME=`date +%H.%M.%S`
! LOGFILE=/tmp/build-log_${SYSTEM}_${DATE}_${TIME}.txt
  
  # convert into absolute path
  cd ${auto_build_root_dir}
--- 3,13 ----
  # this script is the first attempt to have an automated updater and builder
  
  SYSTEM=`uname -s`
  DATE=`date +%Y-%m-%d`
  TIME=`date +%H.%M.%S`
! SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
! LOGFILE=/home/pd/logs/${DATE}_-_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
  
+ auto_build_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/..
  # convert into absolute path
  cd ${auto_build_root_dir}





More information about the Pd-cvs mailing list