Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
1 contributor

Users who have contributed to this file

22 lines (19 sloc) 654 Bytes
diff -Naur xmlsectool.orig/xmlsectool.sh xmlsectool/xmlsectool.sh
--- xmlsectool.orig/xmlsectool.sh 2011-02-18 16:50:21.000000000 +0100
+++ xmlsectool/xmlsectool.sh 2011-02-18 16:49:58.000000000 +0100
@@ -6,8 +6,7 @@
declare LOCALCLASSPATH
declare LIBDIR
-LOCATION=$0
-LOCATION=${LOCATION%/*}
+LOCATION=/usr/share/java/xmlsectool
if [ -z "$JAVA_HOME" ] ; then
echo "ERROR: JAVA_HOME environment variable is not set."
@@ -30,7 +29,7 @@
LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip
# add in the dependency .jar files from the lib directory
-LIBDIR=$LOCATION/lib
+LIBDIR=$LOCATION
LIBS=$LIBDIR/*.jar
for i in $LIBS
do