[PD-cvs] scripts/auto-build pd-extended-auto-builder.sh, 1.1, 1.2 pd-main-auto-builder.sh, 1.2, 1.3

Hans-Christoph Steiner eighthave at users.sourceforge.net
Thu Aug 3 08:02:41 CEST 2006


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

Modified Files:
	pd-extended-auto-builder.sh pd-main-auto-builder.sh 
Log Message:
oops, forgot a bunch of things, like reenabling rsyncing..

Index: pd-main-auto-builder.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/pd-main-auto-builder.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pd-main-auto-builder.sh	3 Aug 2006 05:37:35 -0000	1.2
--- pd-main-auto-builder.sh	3 Aug 2006 06:02:39 -0000	1.3
***************
*** 7,12 ****
  SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
  
- ROOT_DIR=/home/pd/auto-build/pd-main/pure-data
- 
  case $SYSTEM in 
  	 Linux)
--- 7,10 ----
***************
*** 30,46 ****
  package_name="${ROOT_DIR}/pd-${DATE}-${SYSTEM}-${HOSTNAME}-${platform_name}.tar.bz2"
  
- 
- auto_build_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/..
  # convert into absolute path
! cd ${auto_build_root_dir}
  auto_build_root_dir=`pwd`
- 
  echo "root: $auto_build_root_dir" 
  
  # let rsync handle the cleanup with --delete
! #rsync -av --delete rsync://128.238.56.50/pure-data/pd-main/ ${auto_build_root_dir}/
  
  
! cd ${ROOT_DIR}/pd/src && \
  	 autoconf && \
  	 ./configure $configure_options && \
--- 28,42 ----
  package_name="${ROOT_DIR}/pd-${DATE}-${SYSTEM}-${HOSTNAME}-${platform_name}.tar.bz2"
  
  # convert into absolute path
! cd `echo $0 | sed 's|\(.*\)/.*$|\1|'`/../..
  auto_build_root_dir=`pwd`
  echo "root: $auto_build_root_dir" 
  
  # let rsync handle the cleanup with --delete
! rsync -av --delete rsync://128.238.56.50/distros/pd-main/ \
! 	 ${auto_build_root_dir}/
  
  
! cd ${auto_build_root_dir}/pd/src && \
  	 autoconf && \
  	 ./configure $configure_options && \

Index: pd-extended-auto-builder.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/auto-build/pd-extended-auto-builder.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pd-extended-auto-builder.sh	3 Aug 2006 05:54:03 -0000	1.1
--- pd-extended-auto-builder.sh	3 Aug 2006 06:02:39 -0000	1.2
***************
*** 9,32 ****
  LOGFILE=/home/pd/logs/${DATE}_-_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
  
- function upload_build ()
- {
- 	 platform_folder=$1
- 	 archive_format=$2
- 
- # upload files to webpage
- test -e /home/pd/auto-build/packages/${platform_folder}/build/Pd*.${archive_format} && \
- 	 rsync -a /home/pd/auto-build/packages/${platform_folder}/build/Pd*.${archive_format} \
- 	 rsync://128.238.56.50/upload/${DATE}/`ls -1 /home/pd/auto-build/packages/*/build/Pd*.${archive_format} | sed "s|.*/\(.*\)${archive_format}|\1${HOSTNAME}.${archive_format}|"` 
- }
- 
- 
  # convert into absolute path
  cd `echo $0 | sed 's|\(.*\)/.*$|\1|'`/../..
  auto_build_root_dir=`pwd`
- 
  echo "root: $auto_build_root_dir" 
  
  # let rsync handle the cleanup with --delete
! rsync -av --delete rsync://128.238.56.50/pure-data/ ${auto_build_root_dir}/
  
  BUILD_DIR=.
--- 9,20 ----
  LOGFILE=/home/pd/logs/${DATE}_-_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
  
  # convert into absolute path
  cd `echo $0 | sed 's|\(.*\)/.*$|\1|'`/../..
  auto_build_root_dir=`pwd`
  echo "root: $auto_build_root_dir" 
  
  # let rsync handle the cleanup with --delete
! rsync -av --delete rsync://128.238.56.50/distros/pd-extended/ \
! 	 ${auto_build_root_dir}/
  
  BUILD_DIR=.
***************
*** 48,51 ****
--- 36,52 ----
  make test_locations
  
+ 
+ 
+ function upload_build ()
+ {
+ 	 platform_folder=$1
+ 	 archive_format=$2
+ 
+ # upload files to webpage
+ test -e ${auto_build_root_dir}/packages/${platform_folder}/build/Pd*.${archive_format} && \
+ 	 rsync -a ${auto_build_root_dir}/packages/${platform_folder}/build/Pd*.${archive_format} \
+ 	 rsync://128.238.56.50/upload/${DATE}/`ls -1 ${auto_build_root_dir}/packages/*/build/Pd*.${archive_format} | sed "s|.*/\(.*\)${archive_format}|\1${HOSTNAME}.${archive_format}|"` 
+ }
+ 
  case $SYSTEM in 
  	 Linux)





More information about the Pd-cvs mailing list