From 8ca51f5ff34d3832a9847b8c6539b6257cb48082 Mon Sep 17 00:00:00 2001 From: tg Date: Mon, 30 Apr 2007 19:18:37 +0000 Subject: [PATCH] =?UTF-8?q?retain=20Build.sh=20path=20for=20test.sh=20(e.g?= =?UTF-8?q?.=20if=20/bin/ed=20!=3D=20/usr/xpg4/bin/ed=20=E2=80=93=20on=20S?= =?UTF-8?q?olaris=20some=20tools=20are=20weird,=20I=20recommend=20to=20pre?= =?UTF-8?q?fix=20/usr/xpg4/bin=20to=20$PATH=20even=20for=20dot.mkshrc=20be?= =?UTF-8?q?cause=20/usr/bin/id=20sucks,=20/usr/xpg4/bin/id=20works?= =?UTF-8?q?=E2=80=A6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Build.sh b/Build.sh index b65bf3b..ac1d73a 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.181 2007/04/30 19:12:18 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.182 2007/04/30 19:18:37 tg Exp $ #- # Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM @@ -761,6 +761,7 @@ case $curdir in *\ *) echo "#!./mksh" >test.sh ;; *) echo "#!$curdir/mksh" >test.sh ;; esac +echo "export PATH='$PATH'" >>test.sh echo "exec perl '$srcdir/check.pl' -s '$srcdir/check.t'" \ "-p '$curdir/mksh' -C $check_categories \$*" >>test.sh chmod 755 test.sh