From cd2644df499dd0874514028ccd4f42571464e6a3 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 10 Feb 2012 13:34:42 +0200 Subject: Don't source config_host.mk as such but put quotes around the variable values Otherwise lines like: export CLASSPATH=C:/PROGRA~2/Java/JDK16~2.0_2/jre/lib/rt.jar;. will cause problems on Windows. --- bootstrap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 94d07aaeba35..313c2a94e1d1 100755 --- a/bootstrap +++ b/bootstrap @@ -5,7 +5,9 @@ if test -z "${SRC_ROOT}"; then . ./config_build.mk else if test -f ./config_host.mk ; then - . ./config_host.mk + sed -e 's/^\(export .*=\)\(.*\)$/\1"\2"/' config_host.mk.sh + . ./config_host.mk.sh + rm config_host.mk.sh fi fi fi -- cgit v1.2.3