Author: jbalunas(a)redhat.com
Date: 2010-05-28 10:36:05 -0400 (Fri, 28 May 2010)
New Revision: 17363
Modified:
root/build/resources/trunk/change_version.sh
Log:
Updated script to only work on paths with trunk in them
Modified: root/build/resources/trunk/change_version.sh
===================================================================
--- root/build/resources/trunk/change_version.sh 2010-05-28 14:32:45 UTC (rev 17362)
+++ root/build/resources/trunk/change_version.sh 2010-05-28 14:36:05 UTC (rev 17363)
@@ -33,7 +33,7 @@
echo =================================
echo "Changing <version>$ORIG_VERSION</version> into
<version>$NEW_VERSION</version>"
- find $DESTINATION -name "pom.xml" | xargs perl -pi -e
"s/<version>$ORIG_VERSION<\/version>/<version>$NEW_VERSION<\/version>/"
+ find $DESTINATION -name "pom.xml" -path *trunk/* | xargs perl -pi -e
"s/<version>$ORIG_VERSION<\/version>/<version>$NEW_VERSION<\/version>/"
echo =================================
Show replies by date