From 7cab6197a2cc75f04ad92421b24d2173d2ccc707 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Tue, 4 Sep 2007 15:14:54 +0000 Subject: [PATCH] Changed xargs use to more portable syntax --- releasebuild.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releasebuild.sh b/releasebuild.sh index 331dc432d8..9c29d27f35 100644 --- a/releasebuild.sh +++ b/releasebuild.sh @@ -87,7 +87,7 @@ pushd $RELEASE_DIR/site find . -name "*.html" -maxdepth 2 -mindepth 2 | xargs perl -i -p -e 's#\./css/#\.\./css/#;' \ -e 's/Maven Surefire Report/Unit Tests/;' \ - -e 's/Cobertura Test Coverage/Test Coverage/;' + -e 's/Cobertura Test Coverage/Test Coverage/;' \ -e 's/A successful project.*greatly appreciated\.//;' @@ -96,8 +96,8 @@ popd # Assemble the required jar files -find . -name "*${RELEASE_VERSION}.jar" | grep -v WEB-INF | xargs -J % -n 1 cp % $RELEASE_DIR -find . -name "*${RELEASE_VERSION}.war" | xargs -J % -n 1 cp % $RELEASE_DIR +find . -name "*${RELEASE_VERSION}.jar" | grep -v WEB-INF | xargs -I % -n 1 cp % $RELEASE_DIR +find . -name "*${RELEASE_VERSION}.war" | xargs -I % -n 1 cp % $RELEASE_DIR # Should be 9 archives - core, core-tiger, the adapters (cas, jboss, resin, jetty, catalina), tutorial and contacts wars.