File: script-fix-classpath.patch

package info (click to toggle)
svnkit 1.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 17,256 kB
  • ctags: 26,264
  • sloc: java: 221,083; ansic: 389; xml: 273; sh: 264; makefile: 47; python: 17; perl: 8
file content (29 lines) | stat: -rw-r--r-- 865 bytes parent folder | download
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
From: Jakub Adam <jakub.adam@ktknet.cz>
Date: Wed, 4 Jul 2012 22:33:40 +0200
Subject: script-fix-classpath

---
 svnkit-cli/src/main/scripts/jsvn |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/svnkit-cli/src/main/scripts/jsvn b/svnkit-cli/src/main/scripts/jsvn
index a149620..30a8c48 100644
--- a/svnkit-cli/src/main/scripts/jsvn
+++ b/svnkit-cli/src/main/scripts/jsvn
@@ -51,14 +51,8 @@ if [ ! -x "$JAVACMD" ] ; then
   exit 1
 fi
 
-if [ -z "$SVNKIT_LIB" ]
-then
-  SVNKIT_LIB="$BASEDIR"/lib
-fi
-
-CLASSPATH="$BASEDIR/conf"
-CLASSPATH=$CLASSPATH:"$SVNKIT_LIB/${classpathEntry}"
-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