Add buildbot tools and config include files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
23
build/buildbot/tools/preprocess.sh
Executable file
23
build/buildbot/tools/preprocess.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#############################################################################
|
||||
# Name: preprocess
|
||||
# Purpose: Expand embedded xslt
|
||||
# Author: Mike Wetherell
|
||||
# RCS-ID: $Id$
|
||||
# Copyright: (c) 2007 Mike Wetherell
|
||||
# Licence: wxWidgets licence
|
||||
#############################################################################
|
||||
|
||||
if [ $# -eq 0 -o ! -f "$1" ]; then
|
||||
echo "Usage: $0 FILE..."
|
||||
echo "Expands embedded xslt"
|
||||
exit 1
|
||||
fi >&2
|
||||
|
||||
DIR="`dirname $0`"
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
xsltproc --xinclude $DIR/embedded.xsl "$1" 2>/dev/null |
|
||||
xsltproc --xinclude - "$1"
|
||||
shift
|
||||
done
|
Reference in New Issue
Block a user