From: Michael R. Blair Date: Fri, 2 Jun 2006 06:50:11 +0000 (+0000) Subject: Replace non-backward-compatible `--eval' null input w/ shell echo pipe. X-Git-Tag: 20090517-FFI~1046 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=25fdf2f30561c840ca5f74de95482d250f230a44;p=mit-scheme.git 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). --- 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}