[Pkg-haskell-commits] darcs: haskell-devscripts: Fix a bash error - single quote prevents expansion of shell variables

David Fox dsf at seereason.com
Tue Mar 31 17:25:43 UTC 2015


Tue Mar 31 17:16:19 UTC 2015  David Fox <dsf at seereason.com>
  * Fix a bash error - single quote prevents expansion of shell variables

    M ./hlibrary.mk -1 +1

Tue Mar 31 17:16:19 UTC 2015  David Fox <dsf at seereason.com>
  * Fix a bash error - single quote prevents expansion of shell variables
diff -rN -u old-haskell-devscripts/hlibrary.mk new-haskell-devscripts/hlibrary.mk
--- old-haskell-devscripts/hlibrary.mk	2015-03-31 17:25:43.082416929 +0000
+++ new-haskell-devscripts/hlibrary.mk	2015-03-31 17:25:43.122416984 +0000
@@ -176,7 +176,7 @@
 		$(if $(HASKELL_HIDE_PACKAGES),sed -i 's/^exposed: True$$/exposed: False/' $$pkg_config;) \
 		install -Dm 644 $$pkg_config debian/$(notdir $@)/var/lib/ghc/package.conf.d/$$pkg_config; \
 		rm -f $$pkg_config
-	if [ 'z$(DEB_GHC_EXTRA_PACKAGES)' != 'z' ] ; then \
+	if [ "z$(DEB_GHC_EXTRA_PACKAGES)" != "z" ] ; then \
 		mkdir -p debian/$(notdir $@)/usr/lib/haskell-packages/extra-packages; \
 		echo '$(DEB_GHC_EXTRA_PACKAGES)' > debian/$(notdir $@)/usr/lib/haskell-packages/extra-packages/$(CABAL_PACKAGE)-$(CABAL_VERSION) ; \
 	fi




More information about the Pkg-haskell-commits mailing list