mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
0.9.13.9: expand portability fixes
* $DEVNULL, as BSD expand hangs without < /dev/null, and Windows needs NUL.
This commit is contained in:
parent
d489eb7449
commit
64e9a9cae2
6
make.sh
6
make.sh
|
|
@ -61,10 +61,12 @@ build_started=`date`
|
|||
echo "//starting build: $build_started"
|
||||
|
||||
if [ "$OSTYPE" = "cygwin" -o "$OSTYPE" = "msys" ] ; then
|
||||
SBCL_XC_HOST="${1:-sbcl --disable-debugger --userinit NUL --sysinit NUL}"
|
||||
DEVNULL=NUL
|
||||
else
|
||||
SBCL_XC_HOST="${1:-sbcl --disable-debugger --userinit /dev/null --sysinit /dev/null}"
|
||||
DEVNULL=/dev/null
|
||||
fi
|
||||
SBCL_XC_HOST="${1:-sbcl --disable-debugger --userinit $DEVNULL --sysinit $DEVNULL}"
|
||||
export DEVNULL
|
||||
export SBCL_XC_HOST
|
||||
echo //SBCL_XC_HOST=\"$SBCL_XC_HOST\"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
# Convert tabs to spaces and delete trailing whitespace in files
|
||||
# which we can safely assume to be source files in appropriate languages.
|
||||
|
||||
if ! expand --version
|
||||
if ! expand --version < $DEVNULL
|
||||
then
|
||||
# If we're building with MSYS on Windows GNU expand is not available,
|
||||
# and what we get is Microsoft Expand, which is something quite different,
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@
|
|||
;;; checkins which aren't released. (And occasionally for internal
|
||||
;;; versions, especially for internal versions off the main CVS
|
||||
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
|
||||
"0.9.13.8"
|
||||
"0.9.13.9"
|
||||
|
|
|
|||
Loading…
Reference in a new issue