update_web_docs_libstdcxx_svn (FILTER): Introduce.

* update_web_docs_libstdcxx_svn (FILTER): Introduce.
	Use to filter output of the copying process.

From-SVN: r221893
This commit is contained in:
Gerald Pfeifer 2015-04-07 11:46:23 +00:00 committed by Gerald Pfeifer
parent b7c43e2429
commit 23ebaa42a2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-04-07 Gerald Pfeifer <gerald@pfeifer.com>
* update_web_docs_libstdcxx_svn (FILTER): Introduce.
Use to filter output of the copying process.
2015-02-25 Arnaud Charlet <charlet@adacore.com>
* update_web_docs_svn: Preserve gcc/ada/*.png. Update comments.

View File

@ -19,6 +19,7 @@ WWWDIR=/www/gcc/htdocs/onlinedocs/libstdc++
## No more changes should be needed. Ha, right, whatever.
#####################################################################
FILTER="newer or same age version exists|0 blocks"
PATH=/usr/local/bin:$PATH
export SVNROOT
@ -38,8 +39,7 @@ cd doc
rm -f Makefile
# copy the tree to the onlinedocs area, preserve directory structure
#find . -depth -print | cpio -pdv $WWWDIR
find . -depth -print | cpio -pd $WWWDIR 2>&1 | grep -v "newer or same age version exists"
find . -depth -print | cpio -pd $WWWDIR 2>&1 | egrep -v "$FILTER"
err=${PIPESTATUS[1]}
if [ $err -gt 0 ]; then