r22880 - gnucash/trunk/packaging/win32 - Win32 build: Copy an initial logfile to the webserver when the build is started
Christian Stimming
cstim at code.gnucash.org
Sun Apr 7 03:48:07 EDT 2013
Author: cstim
Date: 2013-04-07 03:48:06 -0400 (Sun, 07 Apr 2013)
New Revision: 22880
Trac: http://svn.gnucash.org/trac/changeset/22880
Modified:
gnucash/trunk/packaging/win32/build_package.sh
Log:
Win32 build: Copy an initial logfile to the webserver when the build is started
Modified: gnucash/trunk/packaging/win32/build_package.sh
===================================================================
--- gnucash/trunk/packaging/win32/build_package.sh 2013-04-06 20:42:45 UTC (rev 22879)
+++ gnucash/trunk/packaging/win32/build_package.sh 2013-04-07 07:48:06 UTC (rev 22880)
@@ -47,6 +47,14 @@
rmdir "$_OUTPUT_DIR/$LOG_DIR"
fi
+# If we're running on the build server, copy a temporary logfile
+# content to the webserver to signal that the build is in progress
+if [ `hostname` = "gnucash-win32" ]; then
+ _PWD=`pwd`
+ echo "Build for tag \"${tag}\" is in progress (current working directory: ${_PWD}) ..." > ${LOGFILE}
+ scp -p ${LOGFILE} upload at code.gnucash.org:public_html/win32/$LOG_DIR
+fi
+
set +e
trap on_error ERR
More information about the gnucash-changes
mailing list