directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1392905 - /directory/apacheds/trunk/service/apacheds.sh
Date Tue, 02 Oct 2012 13:20:52 GMT
Author: elecharny
Date: Tue Oct  2 13:20:50 2012
New Revision: 1392905

URL: http://svn.apache.org/viewvc?rev=1392905&view=rev
Log:
Discover the JAR using a find command, so that we don't have the hard coded version in the
file

Modified:
    directory/apacheds/trunk/service/apacheds.sh

Modified: directory/apacheds/trunk/service/apacheds.sh
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/service/apacheds.sh?rev=1392905&r1=1392904&r2=1392905&view=diff
==============================================================================
--- directory/apacheds/trunk/service/apacheds.sh (original)
+++ directory/apacheds/trunk/service/apacheds.sh Tue Oct  2 13:20:50 2012
@@ -18,7 +18,7 @@
 # under the License.
 
 # The final jar
-JAR=target/apacheds-service-2.0.0-M7-SNAPSHOT.jar
+JAR=`find . -name "apacheds-server-*[!s].jar"`
 
 # Checking if the final jar exists
 if [ -e $JAR ] ; then



Mime
View raw message