diff options
author | Erich Eckner <git@eckner.net> | 2023-09-12 22:47:33 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-09-12 22:47:33 +0200 |
commit | a51baf4b98363dad43b414c3db82889ad2fad184 (patch) | |
tree | 3ca8ed16cc2e23040893c743762e978d4fc3cb23 /Makefile | |
parent | a237a947903e862727973bb0eebfbe936f489e58 (diff) | |
download | cryptfs-daemon-a51baf4b98363dad43b414c3db82889ad2fad184.tar.xz |
ping -> ping -4
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |