diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-02-10 13:34:42 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-02-10 14:14:21 +0200 |
commit | cd2644df499dd0874514028ccd4f42571464e6a3 (patch) | |
tree | d8b1a86f58b38cd044adb6ad21eb1da17237cbf7 /bootstrap | |
parent | 2e1faa12faf81c28dbf3ce005ecd16c27770b9ca (diff) |
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.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 3 insertions, 1 deletions
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 >config_host.mk.sh + . ./config_host.mk.sh + rm config_host.mk.sh fi fi fi |