Fix execution of tclsh.
[yaz-moved-to-github.git] / src / charconv.tcl
index 125cd10..36fed01 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 # the next line restats using tclsh \
-if [ -f /usr/local/bin/tclsh8.4 ]; then exec tclsh8.4 "$0" "$@"; echo exec tclsh "$0" "$@"; fi
+if [ -f /usr/local/bin/tclsh8.4 ]; then exec tclsh8.4 "$0" "$@"; else exec tclsh "$0" "$@"; fi
 #
-# $Id: charconv.tcl,v 1.14 2006-05-22 15:16:59 mike Exp $
+# $Id: charconv.tcl,v 1.15 2006-05-22 19:08:38 adam Exp $
 
 proc usage {} {
     puts {charconv.tcl: [-p prefix] [-s split] [-o ofile] file ... }