[gatein-commits] gatein SVN: r2466 - components/wsrp/trunk.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Apr 2 08:52:13 EDT 2010


Author: chris.laprun at jboss.com
Date: 2010-04-02 08:52:13 -0400 (Fri, 02 Apr 2010)
New Revision: 2466

Modified:
   components/wsrp/trunk/UpdateWSRPForGateIn.sh
Log:
- Relaxed version regular expression.

Modified: components/wsrp/trunk/UpdateWSRPForGateIn.sh
===================================================================
--- components/wsrp/trunk/UpdateWSRPForGateIn.sh	2010-04-02 10:05:03 UTC (rev 2465)
+++ components/wsrp/trunk/UpdateWSRPForGateIn.sh	2010-04-02 12:52:13 UTC (rev 2466)
@@ -34,7 +34,7 @@
 export CURRENT_WSRP=`grep -m 1 ".*<version>\(.*\)<\/version>.*" pom.xml | sed -n -e 's/.*<version>\(.*\)<\/.*/\1/p'`
 
 # extract the current version of WSRP module from existing files
-DEPLOYED_WSRP=`ls $GATEIN_EAR_HOME/lib/wsrp* | sed -n '1 s/.*\/.*-\([0-9]\.[0-9].[0-9]-.*-.*\).jar/\1/p'`
+DEPLOYED_WSRP=`ls $GATEIN_EAR_HOME/lib/wsrp* | sed -n '1 s/.*\/.*-\([0-9]\.[0-9].[0-9].*\).jar/\1/p'`
 
 echo Deployed WSRP version: \'$DEPLOYED_WSRP\'
 echo Current WSRP version in project POM: \'$CURRENT_WSRP\'



More information about the gatein-commits mailing list