Haskell::Cabal: fix overquoting of flags
Since `system` escapes its own spaces, cabal was interpreting `--flags='webapp s3'` as `+'webapp +s3'` rather than `+webapp +s3`. Closes #267. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
0123e04fae
commit
7b2d1a5b08
@ -81,7 +81,7 @@ module Language
|
|||||||
# dependencies, and call cabal configure afterwards to set the flags again for compile
|
# dependencies, and call cabal configure afterwards to set the flags again for compile
|
||||||
flags = ""
|
flags = ""
|
||||||
if options[:flags]
|
if options[:flags]
|
||||||
flags = "--flags='#{options[:flags].join(" ")}'"
|
flags = "--flags=#{options[:flags].join(" ")}"
|
||||||
end
|
end
|
||||||
|
|
||||||
args_and_flags = args
|
args_and_flags = args
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user