From a51baf4b98363dad43b414c3db82889ad2fad184 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 12 Sep 2023 22:47:33 +0200 Subject: ping -> ping -4 --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c00eeca..e748a28 100644 --- a/Makefile +++ b/Makefile @@ -48,9 +48,15 @@ all: cryptfs.8 cryptfs.bin cryptfs.rc cryptfs.service s@#VERSION#@$(VERSION)@g; \ " $< | \ if which "ping6" >/dev/null 2>&1; then \ - sed 's@#PING6#@ping6@'; \ + sed " \ + s@#PING4#@ping@; \ + s@#PING6#@ping6@; \ + "; \ else \ - sed 's@#PING6#@ping -6@'; \ + sed " \ + s@#PING4#@ping -4@; \ + s@#PING6#@ping -6@; \ + "; \ fi > $@ [ "$@" = "cryptfs.bin" ] && chmod +x "$@" || true [ "$@" = "cryptfs.rc" ] && chmod +x "$@" || true -- cgit v1.2.3-70-g09d2