[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6f2068f: Fix emoji-induced build breakage
From: |
Robert Pluim |
Subject: |
master 6f2068f: Fix emoji-induced build breakage |
Date: |
Fri, 17 Sep 2021 13:37:23 -0400 (EDT) |
branch: master
commit 6f2068fcb16961d345d5288bb26ed456c4369b51
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
Fix emoji-induced build breakage
* admin/unidata/blocks.awk: Cater for out-of-tree builds, match
the name of the file using regexp rather than exact match.
---
admin/unidata/blocks.awk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/admin/unidata/blocks.awk b/admin/unidata/blocks.awk
index 72a808a..575f714 100755
--- a/admin/unidata/blocks.awk
+++ b/admin/unidata/blocks.awk
@@ -131,7 +131,7 @@ function name2alias(name , w, w2) {
return name
}
-FILENAME == "Blocks.txt" && /^[0-9A-F]/ {
+FILENAME ~ "Blocks.txt" && /^[0-9A-F]/ {
sep = index($1, "..")
len = length($1)
s = substr($1,1,sep-1)
@@ -204,10 +204,10 @@ FILENAME == "Blocks.txt" && /^[0-9A-F]/ {
# The space after 'Emoji' is significant in the next two rules.
# This purposely and deliberately excludes codepoints <= 00FF
-FILENAME == "emoji-data.txt" && /^00[0-9A-F]{2}.*; Emoji / {
+FILENAME ~ "emoji-data.txt" && /^00[0-9A-F]{2}.*; Emoji / {
next
}
-FILENAME == "emoji-data.txt" && /^[0-9A-F].*; Emoji / {
+FILENAME ~ "emoji-data.txt" && /^[0-9A-F].*; Emoji / {
sep = index($1, "..")
len = length($1)
if (sep > 0) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6f2068f: Fix emoji-induced build breakage,
Robert Pluim <=