diff options
author | Mattias Andrée <maandree@kth.se> | 2023-12-07 21:45:00 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-12-07 21:45:00 +0100 |
commit | fc37c5db3ce6ba4e81eeca56ba6f8fed2a7500c0 (patch) | |
tree | 1494027041af79bd0c6a5e14fd9f446c77b59e50 /Makefile | |
parent | Remove -Wall -O3 from CFLAGS (diff) | |
download | sha3sum-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 '')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |