[PD-cvs] scripts/auto-build pd-extended-auto-builder.sh, 1.11, 1.12 run-automated-builder, 1.12, 1.13

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sat Oct 21 06:09:42 CEST 2006


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

Modified Files:
	pd-extended-auto-builder.sh run-automated-builder 
Log Message:
made rsync uploads use cygwin shells since Cygwin's rsync doesn't like MinGW's ssh, a requirement for uploading

Index: pd-extended-auto-builder.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/pd-extended-auto-builder.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** pd-extended-auto-builder.sh	19 Oct 2006 00:55:48 -0000	1.11
--- pd-extended-auto-builder.sh	21 Oct 2006 04:09:40 -0000	1.12
***************
*** 59,64 ****
      echo "upload specs $1 $2 $3"
      echo "Uploading $archive"
!     test -e ${archive} && rsync -a ${archive} \
! 		  rsync://128.238.56.50/upload/${DATE}/`ls -1 ${archive} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|"`  &&  echo SUCCESS
  }
  
--- 59,72 ----
      echo "upload specs $1 $2 $3"
      echo "Uploading $archive"
! 	 upload_filename=`ls -1 ${archive} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|"`
! 	 if [ "x$SYSTEM" == "xmingw" ]; then
! 		  test -e ${archive} && /c/cygwin/bin/sh --login -c "rsync -a ${archive} \
! 				rsync://128.238.56.50/upload/${DATE}/${upload_filename}"  && \
! 				echo SUCCESS
! 	 else
! 		  test -e ${archive} && rsync -a ${archive} \
! 				rsync://128.238.56.50/upload/${DATE}/${upload_filename}  && \
! 				echo SUCCESS
! 	 fi
  }
  

Index: run-automated-builder
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/run-automated-builder,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** run-automated-builder	18 Oct 2006 15:42:12 -0000	1.12
--- run-automated-builder	21 Oct 2006 04:09:40 -0000	1.13
***************
*** 17,21 ****
--- 17,25 ----
  	 sh /home/pd/auto-build/${distro}/scripts/auto-build/${distro}-auto-builder.sh >> $LOGFILE 2>&1
  
+ if [ "x$SYSTEM" == "xmingw" ]; then
+ 	 /c/cygwin/bin/sh --login -c "rsync -a ${LOGFILE} rsync://128.238.56.50/upload/${DATE}/logs/"
+ else
  	 rsync -a ${LOGFILE} rsync://128.238.56.50/upload/${DATE}/logs/
+ fi
  
  # send status report if something failed





More information about the Pd-cvs mailing list