From bb269690820d261342ad1a38d7de244bf1669384 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Sun, 7 Apr 2013 07:48:06 +0000 Subject: [PATCH] Win32 build: Copy an initial logfile to the webserver when the build is started git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22880 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/build_package.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packaging/win32/build_package.sh b/packaging/win32/build_package.sh index 0a84c15f34..179995c3d1 100644 --- a/packaging/win32/build_package.sh +++ b/packaging/win32/build_package.sh @@ -47,6 +47,14 @@ if [ `hostname` = "gnucash-win32" ]; then 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@code.gnucash.org:public_html/win32/$LOG_DIR +fi + set +e trap on_error ERR