From 8f3f52072556a27222115961761bbd75124b65a4 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 15 Oct 2009 12:58:34 +0000 Subject: [PATCH] =?UTF-8?q?AIX=20{,/usr}/bin/bsh=20is=20an=20SVR3=20Bourne?= =?UTF-8?q?=20Shell,=20according=20to=20Sven=20Mascheck,=20so=20I=20must?= =?UTF-8?q?=20not=20use=20foo=3D"=E2=80=A6`=E2=80=A6"=E2=80=A6"=E2=80=A6`?= =?UTF-8?q?=E2=80=A6"=20at=20all?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Build.sh b/Build.sh index 69c0530..f65ddca 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.425 2009/09/24 17:15:28 tg Exp $' +srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.426 2009/10/15 12:58:34 tg Exp $' #- # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Thorsten Glaser @@ -1412,7 +1412,8 @@ else fi echo set -x >Rebuild.sh for file in $SRCS; do - objs="$objs `echo x"$file" | sed 's/^x\(.*\)\.c$/\1.o/'`" + of=`echo x"$file" | sed 's/^x\(.*\)\.c$/\1.o/'` + objs="$objs $of" test -f $file || file=$srcdir/$file echo "$CC $CFLAGS $CPPFLAGS $emitbc $file || exit 1" >>Rebuild.sh done