From 25fdf2f30561c840ca5f74de95482d250f230a44 Mon Sep 17 00:00:00 2001 From: "Michael R. Blair" Date: Fri, 2 Jun 2006 06:50:11 +0000 Subject: [PATCH] Replace non-backward-compatible `--eval' null input w/ shell echo pipe. Specifically, double dashes are preferred in env var default values but they should be avoided in explicit command lines since they die when the bootstrap ${SCHEME_COMPILER} predates the double dash syntax. This really just substitutes one hack for another but at least it now works for release 7.6 as well as 7.7 (so you can now build the latter from CVS using the former to bootstrap from 7.6 into 7.7). --- v7/src/microcode/utabmd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/utabmd.sh b/v7/src/microcode/utabmd.sh index 339c44881..344d9a3ae 100755 --- a/v7/src/microcode/utabmd.sh +++ b/v7/src/microcode/utabmd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: utabmd.sh,v 1.5 2003/02/14 18:28:24 cph Exp $ +# $Id: utabmd.sh,v 1.6 2006/06/02 06:50:11 ihtfisp Exp $ # # Copyright 2002,2003 Massachusetts Institute of Technology # @@ -24,4 +24,4 @@ if [ -z "${SCHEME_COMPILER}" ]; then SCHEME_COMPILER="scheme --compiler" fi -${SCHEME_COMPILER} --eval '(sf "utabmd")' < /dev/null +echo '(sf "utabmd")' | ${SCHEME_COMPILER} -- 2.25.1