Escaping when generating register.sh

Ian Lynagh igloo at earth.li
Sat Oct 14 11:44:39 EDT 2006


Hi all,

The register.sh script generated by
    runhaskell Setup.hs register --gen-script
with Cabal 1.16 is not escaping quotes correctly, e.g. with the OpenGL
package in extralibs it contains

echo 'name: OpenGL
[...]
             OpenGL is the industry's most widely used and supported 2D and 3D
[                                 ^^^ ]
[...]
haddock-html: /usr/share/OpenGL-2.1/doc/html' | /usr/bin/ghc-pkg update -


Thanks
Ian



More information about the cabal-devel mailing list