diff options
author | Colin Watson <cjwatson@debian.org> | 2014-01-02 13:38:30 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-01-02 14:07:59 +0000 |
commit | bd60d043a586f879b2194be3accf4e0fafdff23f (patch) | |
tree | 276c189658bf6bc73fe799ba4bdbe91957aa094f /font/devutf8 | |
parent | d5951b551a3cb8f9cbbf1458489bcbfefd390d83 (diff) | |
download | groff-git-bd60d043a586f879b2194be3accf4e0fafdff23f.tar.gz |
'+' isn't a regex metacharacter in sed by default
Based on an old patch from Fumitoshi UKAI <ukai@debian.or.jp>.
* font/devascii/Makefile.sub ($(FONTS)): Convert extended regex
syntax to basic for sed.
* font/devcp1047/Makefile.sub ($(FONTS)): Likewise.
* font/devhtml/Makefile.sub ($(FONTS)): Likewise.
* font/devlatin1/Makefile.sub ($(FONTS)): Likewise.
* font/devutf8/Makefile.sub ($(FONTS)): Likewise.
Diffstat (limited to 'font/devutf8')
-rw-r--r-- | font/devutf8/Makefile.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/font/devutf8/Makefile.sub b/font/devutf8/Makefile.sub index 221bd3f29..1047bdc2f 100644 --- a/font/devutf8/Makefile.sub +++ b/font/devutf8/Makefile.sub @@ -12,8 +12,8 @@ $(FONTS): R.proto @-rm -f $@ @(charwidth=`expr $(RES) / $(CPI)` ; \ sed -e "s/^name [A-Z]*$$/name $@/" \ - -e "s/^\\([^ ]*\\) [0-9]+ /\\1 $$charwidth /" \ - -e "s/^spacewidth [0-9]+$$/spacewidth $$charwidth/" \ + -e "s/^\\([^ ]*\\) [0-9][0-9]* /\\1 $$charwidth /" \ + -e "s/^spacewidth [0-9][0-9]*$$/spacewidth $$charwidth/" \ -e "s/^internalname .*$$/internalname $@/" \ -e "/^internalname/s/BI/3/" \ -e "/^internalname/s/B/2/" \ |