the actual copy process.
Check the exit code of the actual copy process; diagnose problems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197558
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-04-07 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * update_web_docs_libstdcxx_svn: No longer ignore all output from
+ the actual copy process.
+ Check the exit code of the actual copy process; diagnose problems.
+
2013-03-16 Jakub Jelinek <jakub@redhat.com>
* crontab: Enable snapshots from gcc-4_8-branch.
-#!/bin/sh
+#!/bin/bash
# "sh update_web_docs_libstdcxx.sh"
# copy the tree to the onlinedocs area, preserve directory structure
#find . -depth -print | cpio -pdv $WWWDIR
-find . -depth -print | cpio -pd $WWWDIR > /dev/null 2>&1
+find . -depth -print | cpio -pd $WWWDIR 2>&1 | grep -v "newer or same age version exists"
+
+err=${PIPESTATUS[1]}
+if [ $err -gt 0 ]; then
+ printf "\nCopying failed with error code %d.\n" $err
+fi
cd /
/bin/rm -rf $WORKDIR