From: Adam Dickmeiss Date: Mon, 22 May 2006 19:08:38 +0000 (+0000) Subject: Fix execution of tclsh. X-Git-Tag: YAZ.2.1.20~36 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=9f5de9011e59569e0bae5b484defe53bda38a457 Fix execution of tclsh. --- diff --git a/src/charconv.tcl b/src/charconv.tcl index 125cd10..36fed01 100755 --- a/src/charconv.tcl +++ b/src/charconv.tcl @@ -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 ... } diff --git a/util/yaz-asncomp b/util/yaz-asncomp index 280ac3f..f858c77 100755 --- a/util/yaz-asncomp +++ b/util/yaz-asncomp @@ -1,12 +1,12 @@ #!/bin/sh # the next line restarts 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 # # yaz-comp: ASN.1 Compiler for YAZ # (c) Index Data 1996-2004 # See the file LICENSE for details. # -# $Id: yaz-asncomp,v 1.6 2006-05-22 15:52:40 mike Exp $ +# $Id: yaz-asncomp,v 1.7 2006-05-22 19:08:38 adam Exp $ # set yc_version 0.4