Escaping when generating register.sh

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

On Sat, 2006-10-14 at 16:44 +0100, Ian Lynagh wrote:
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 -
Fixed. Thanks. Duncan
participants (2)
-
Duncan Coutts
-
Ian Lynagh