[Git][ghc/ghc][wip/romes/hardwire-ghc-unit-id] Fix sed command in install makefile
Matthew Pickering (@mpickering)
gitlab at gitlab.haskell.org
Wed Mar 29 12:56:54 UTC 2023
Matthew Pickering pushed to branch wip/romes/hardwire-ghc-unit-id at Glasgow Haskell Compiler / GHC
Commits:
bff5210c by GHC GitLab CI at 2023-03-29T12:54:15+00:00
Fix sed command in install makefile
- - - - -
1 changed file:
- hadrian/bindist/Makefile
Changes:
=====================================
hadrian/bindist/Makefile
=====================================
@@ -226,7 +226,7 @@ update_package_db: install_bin install_lib
$(INSTALL_DATA) mk/system-cxx-std-lib-1.0.conf "$(DESTDIR)$(ActualLibsDir)/package.conf.d"
@echo "Updating the package DB"
$(foreach p, $(PKG_CONFS),\
- $(call patchpackageconf,$(shell echo $(notdir $p) | sed 's/-\([0-9]*[0-9]\.\)*conf//g'),$(shell echo "$p" | sed 's:\0xxx\0: :g'),$(docdir),$(shell mk/relpath.sh "$(ActualLibsDir)" "$(docdir)"),$(shell echo $(notdir $p) | sed 's/.conf//g')))
+ $(call patchpackageconf,$(shell echo $(notdir $p) | sed 's/-\([0-9]*[0-9]\.\)*\([0-9]\+\)\(-[0-9a-zA-Z]\+\)*\.conf//g'),$(shell echo "$p" | sed 's:\0xxx\0: :g'),$(docdir),$(shell mk/relpath.sh "$(ActualLibsDir)" "$(docdir)"),$(shell echo $(notdir $p) | sed 's/.conf//g')))
'$(DESTDIR)$(ActualBinsDir)/$(CrossCompilePrefix)ghc-pkg' --global-package-db "$(DESTDIR)$(ActualLibsDir)/package.conf.d" recache
install_mingw:
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bff5210c4f6781033474b239ac0673bd198ec6b3
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bff5210c4f6781033474b239ac0673bd198ec6b3
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230329/196fa574/attachment.html>
More information about the ghc-commits
mailing list