aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ic/src/ic.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-06-04 20:38:34 +0200
committerLukas Larsson <[email protected]>2012-06-08 17:29:13 +0200
commita977c40ac2c290623e20e9df32315eb6a1bdf55d (patch)
treed0ade23967503c82d0ccfcf899a2b4bf5a6046c8 /lib/ic/src/ic.erl
parent5f8867fb985b2b899e2ba8391652c7111f9df9bb (diff)
downloadotp-a977c40ac2c290623e20e9df32315eb6a1bdf55d.tar.gz
otp-a977c40ac2c290623e20e9df32315eb6a1bdf55d.tar.bz2
otp-a977c40ac2c290623e20e9df32315eb6a1bdf55d.zip
Update to work with space in include path
OTP-10109
Diffstat (limited to 'lib/ic/src/ic.erl')
-rw-r--r--lib/ic/src/ic.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ic/src/ic.erl b/lib/ic/src/ic.erl
index 50fad921c4..bc7ec8ba91 100644
--- a/lib/ic/src/ic.erl
+++ b/lib/ic/src/ic.erl
@@ -250,7 +250,7 @@ make_erl_options(Opts) ->
Optimize = Opts#options.optimize,
PreProc =
lists:flatten(
- lists:map(fun(D) -> io_lib:format("-I~s ", [ic_util:to_list(D)]) end,
+ lists:map(fun(D) -> io_lib:format("-I\"~s\" ", [ic_util:to_list(D)]) end,
Includes1)++
lists:map(
fun ({Name, Value}) ->