Commits

Anonymous committed b54a14c

Regression due to lists in GHCPKG

Comments (0)

Files changed (1)

waflib/extras/cabal.py

             rmtree(pkgdir.abspath())
             pkgdir = None
 
-        self.cmd_and_log([self.env.GHCPKG, 'init', pkgconfd])
+        self.cmd_and_log(self.env.GHCPKG + ['init', pkgconfd])
         self.msg('Created package database', pkgconfd, color = 'YELLOW' if pkgdir else 'GREEN')
 
 @extension('.cabal')