From 31d8bf04c831d8a86dd149cf0c7067a9a3e9c336 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sat, 10 Feb 2018 10:18:08 -0600 Subject: [PATCH] Makefile: Don't use printf '\c'; not needed, and not portable Remove the printf '\c' introduced in 3306a802a11b8d945af081cb835bb7fe208dc84c. Thanks to Alexander Barton for reporting the problem (seen on macOS) and proposing an alternate solution. Signed-off-by: Rob Browning Tested-by: Rob Browning --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 620f90b..a185bac 100644 --- a/Makefile +++ b/Makefile @@ -126,7 +126,7 @@ lib/bup/_helpers$(SOEXT): \ LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" "$(bup_python)" csetup.py build # Make sure there's just the one file we expect before we copy it. find lib/bup/build/* -maxdepth 1 -name '_helpers*$(SOEXT)' \ - -exec printf 'x\c' '{}' \; | wc -c | xargs test 1 -eq + -exec printf 'x' '{}' \; | wc -c | xargs test 1 -eq cp lib/bup/build/*/_helpers*$(SOEXT) "$@" lib/bup/_checkout.py: -- 2.39.2