1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
From: Markus Koschany <apo@debian.org>
Date: Sun, 9 Oct 2016 00:00:07 +0200
Subject: script fix classpath
Forwarded: not-needed
---
svnkit-cli/src/main/scripts/jsvn | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/svnkit-cli/src/main/scripts/jsvn b/svnkit-cli/src/main/scripts/jsvn
index 56dbe40..f259dbe 100644
--- a/svnkit-cli/src/main/scripts/jsvn
+++ b/svnkit-cli/src/main/scripts/jsvn
@@ -1,3 +1,5 @@
+#!/bin/sh
+
BASEDIR="`dirname "\$0"`/.."
BASEDIR=`(cd "\$BASEDIR"; pwd)`
@@ -49,14 +51,8 @@ if [ ! -x "\$JAVACMD" ] ; then
exit 1
fi
-if [ -z "\$SVNKIT_LIB" ]
-then
- SVNKIT_LIB="\$BASEDIR"/lib
-fi
-
-<% project[classpath_property].eachWithIndex { elem, index -> %>CLASSPATH=<% if (index != 0) { %>\$CLASSPATH:<% } %>"\$SVNKIT_LIB/${elem}"
-<% } %>
-LOGGING_PROPERTIES_PATH="\$BASEDIR/conf/logging.properties"
+CLASSPATH="/usr/share/svnkit/svnkit-cli.jar"
+LOGGING_PROPERTIES_PATH="/etc/svnkit/logging.properties"
# For Cygwin, switch paths to Windows format before running java
if \$cygwin; then
|