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 2012/04/30 16:28:58 UTC

svn commit: r1332218 - /incubator/jena/Jena2/TDB/trunk/bin/tdb_path

Author: andy
Date: Mon Apr 30 14:28:58 2012
New Revision: 1332218

URL: http://svn.apache.org/viewvc?rev=1332218&view=rev
Log:
Look in lib/* for use in distribution.

Modified:
    incubator/jena/Jena2/TDB/trunk/bin/tdb_path

Modified: incubator/jena/Jena2/TDB/trunk/bin/tdb_path
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/TDB/trunk/bin/tdb_path?rev=1332218&r1=1332217&r2=1332218&view=diff
==============================================================================
--- incubator/jena/Jena2/TDB/trunk/bin/tdb_path (original)
+++ incubator/jena/Jena2/TDB/trunk/bin/tdb_path Mon Apr 30 14:28:58 2012
@@ -15,6 +15,14 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 
+# This is the distribution
+if [ -e "$TDBROOT/lib" ]
+then
+    CP="$TDBROOT/lib/"'*'
+    echo "$CP"
+    exit
+fi
+
 M2_REPO="${M2_REPO:-$HOME/.m2/repository}" ;
 # Looking in the POM would be better but it is very slow.
 X=$(perl -ne 'next unless /\spath="M2_REPO([^"]*)"/s ; print "$1","\n"' $TDBROOT/.classpath)
@@ -32,7 +40,6 @@ then
     CP="${CP}$TDBROOT/target/classes"
 fi
 
-
 for x in $X
 do
     [ -z "$CP" ] || CP="${CP}${SEP}"