aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-12-07 21:45:00 +0100
committerMattias Andrée <maandree@kth.se>2023-12-07 21:45:00 +0100
commitfc37c5db3ce6ba4e81eeca56ba6f8fed2a7500c0 (patch)
tree1494027041af79bd0c6a5e14fd9f446c77b59e50 /Makefile
parentRemove -Wall -O3 from CFLAGS (diff)
downloadsha3sum-fc37c5db3ce6ba4e81eeca56ba6f8fed2a7500c0.tar.gz
sha3sum-fc37c5db3ce6ba4e81eeca56ba6f8fed2a7500c0.tar.bz2
sha3sum-fc37c5db3ce6ba4e81eeca56ba6f8fed2a7500c0.tar.xz
Remove used of unportable \+ in sed script
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 93c0b1d..a4fdd34 100644
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,7 @@ $(BIN_SPECIFIC:=.c):
+@set -e; \
f="$$(\
set -e; \
- sed -n 's/^\([a-z0-9-]\+\)%\([^:]*\):.*$$/\1 \2/p' < unportable.mk | while read start end; do \
+ sed -n 's/^\([a-z][a-z0-9-]\+\)%\([^:]*\):.*$$/\1 \2/p' < unportable.mk | while read start end; do \
end="$$(printf '%s\n' "$$end" | sed 's/\./\\\./g')"; \
x="$$(printf '%s\n' '$@' | sed -n 's/^'"$$start"'\(.*\)'"$$end"'$$/\1/p')"; \
if test -n "$$x"; then \