From c399a3c4600b0554a703636ff982d93ff77e2590 Mon Sep 17 00:00:00 2001 From: Jean-Claude Wippler Date: Thu, 5 Apr 2007 00:14:33 +0000 Subject: [PATCH] Changed "Sh" to "Run", and added explicit "Run sh" calls for all shell scripts, such as the configure scripts. This is needed for MSYS/Mingw. git-svn-id: svn://svn.equi4.com/kitgen/trunk@1397 9e558909-932a-0410-a563-af77432da1eb --- kbs.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kbs.tcl b/kbs.tcl index 26cd340..c6e74dd 100644 --- a/kbs.tcl +++ b/kbs.tcl @@ -95,12 +95,12 @@ namespace eval config { proc src-cvs {path {module ""}} { if {$module eq ""} { set module [file tail $path]} if {[string first @ $path] < 0} { set path :pserver:anonymous@$path } - Sh cvs -d $path -z3 co -P -d tmp $module + Run cvs -d $path -z3 co -P -d tmp $module file rename tmp [Srcdir] } proc src-svn {path} { - Sh svn co $path [Srcdir] + Run svn co $path [Srcdir] } proc src-fetch {path} { @@ -180,7 +180,7 @@ namespace eval config { } } - proc Sh {args} { + proc Run {args} { lappend args >@stdout 2>@stderr eval [linsert $args 0 exec] } -- 2.23.0