From 67fa1b758ad7f97dde7c9268f5096be9f2bdc2c9 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Fri, 27 May 2005 19:19:32 +0000
Subject: [PATCH] Need to quote $VERSION when calling load-word.sh so it gets
 the right string.

---
 tools/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/build.sh b/tools/build.sh
index da11b89d3..c58628dbc 100755
--- a/tools/build.sh
+++ b/tools/build.sh
@@ -80,7 +80,7 @@ buildit ()
 	$TIMER $TOOLDIR/build-world.sh $TARGET $OLDLISP $BOOT
 	(cd $TARGET/lisp; make)
 	#$TOOLDIR/build-world.sh $TARGET $OLDLISP
-	$TOOLDIR/load-world.sh $TARGET $VERSION
+	sh -x $TOOLDIR/load-world.sh $TARGET "$VERSION"
 	if [ ! -f $TARGET/lisp/lisp.core ]; then
 	    echo "Failed to build $TARGET!"
 	    exit 1
-- 
GitLab