[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: haskell-devscripts quoting error




On Mon, Apr 27, 2015 at 2:54 PM, David Fox <ddssff@gmail.com> wrote:


On Mon, Apr 27, 2015 at 2:49 PM, Joachim Breitner <nomeata@debian.org> wrote:
Hi,

Am Montag, den 27.04.2015, 14:28 -0700 schrieb David Fox:

> Sorry about that!  I will check it out.

Thanks. I could not find an easy way to fix it, but maybe StackOverflow
knows more:
http://stackoverflow.com/questions/29906576/safely-pass-make-variable-to-shell-commands

First answer - this works: 

DEB_SETUP_GHC_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc/bin/ghci || echo --flags=\\\"-quotation -testprog\\\")

But you also have to change 'DEB_SETUP_GHC_CONFIGURE_ARGS=$7' to 'DEB_SETUP_GHC_CONFIGURE_ARGS="$7"' in Dh_Haskell.sh


Reply to: