]> granicus.if.org Git - docbook-dsssl/commitdiff
debugging reverted
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 30 Mar 2005 07:48:06 +0000 (07:48 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 30 Mar 2005 07:48:06 +0000 (07:48 +0000)
cvstools/runtrang

index 2aaf260cccda86bcfdf87121fb2846f67c90ad6a..a85a516855b1a46f51706950f44796342bbc9b7d 100755 (executable)
@@ -13,7 +13,7 @@ if [[ $CLASSPATH == *trang* ]]; then
   TRANG="java com.thaiopensource.relaxng.translate.Driver";
 else
   # otherwise, try to find trang.jar using the "locate" command
-  if [ "$(locate tng.jar)" ]; then
+  if [ "$(locate trang.jar)" ]; then
     for jar in `locate trang.jar`; do
       TRANG="java -jar $jar";
       break;
@@ -44,7 +44,7 @@ fi
 
 # if trang was found, run it
 if [ -n "$TRANG" ]; then
-    echo $TRANG $1 $2
+  $TRANG $1 $2
 else
   # otherwise, exit with an error
   echo "error: cannot locate trang" 1>&2