You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2014/03/14 10:19:12 UTC

svn commit: r1577458 - /jena/trunk/jena-arq/bin/make_classpath_mvn

Author: andy
Date: Fri Mar 14 09:19:11 2014
New Revision: 1577458

URL: http://svn.apache.org/r1577458
Log:
Add ${SEP} only if CP already set

Modified:
    jena/trunk/jena-arq/bin/make_classpath_mvn

Modified: jena/trunk/jena-arq/bin/make_classpath_mvn
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/bin/make_classpath_mvn?rev=1577458&r1=1577457&r2=1577458&view=diff
==============================================================================
--- jena/trunk/jena-arq/bin/make_classpath_mvn (original)
+++ jena/trunk/jena-arq/bin/make_classpath_mvn Fri Mar 14 09:19:11 2014
@@ -42,7 +42,8 @@ if [ -e "$DIRROOT/pom.xml" ] && [ $HAS_M
     cd $CURR_DIR
     
     # Append the result to any user defined classpath
-    CP="${CP}${SEP}${MVN_CP}"
+    [ "$CP" != "" ] && CP="${CP}${SEP}"
+    CP="${CP}${MVN_CP}"
 else
     # Use the crude method
     M2_REPO="${M2_REPO:-$HOME/.m2/repository/}" ;