File: dirs.diff

package info (click to toggle)
writer2xhtml 1.7.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,688 kB
  • sloc: java: 19,460; xml: 424; sh: 55; makefile: 34
file content (20 lines) | stat: -rwxr-xr-x 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/distro/writer2xhtml.sh b/src/distro/writer2xhtml.sh
index 89dac43..956a6a6 100644
--- a/src/distro/writer2xhtml.sh
+++ b/src/distro/writer2xhtml.sh
@@ -6,7 +6,7 @@
 
 # If writer2xhtml.jar is not in the same directory as the script, please
 # edit the following line to contain the full path to Writer2xhtml:
-W2XPATH=`dirname $0`
+W2XPATH=/usr/share/java
 
 # If the required JVM is not in your path, or the path is not set by JAVA_HOME,
 # please edit the following line to contain the full path and file name
@@ -19,4 +19,4 @@ else
 JAVAEXE="$JAVA_HOME/bin/java"
 fi
 
-$JAVAEXE -jar "$W2XPATH/writer2xhtml.jar" "$@"
\ No newline at end of file
+$JAVAEXE -jar "$W2XPATH/writer2xhtml.jar" "$@"