]> arthur.barton.de Git - bup.git/commitdiff
Makefile: Don't use printf '\c'; not needed, and not portable
authorRob Browning <rlb@defaultvalue.org>
Sat, 10 Feb 2018 16:18:08 +0000 (10:18 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sat, 10 Feb 2018 16:18:30 +0000 (10:18 -0600)
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 <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Makefile

index 620f90b45b30e926a7221d04ff633ad4798eb885..a185bac979dd6d00d749d26328e4b12a4e3483c8 100644 (file)
--- 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: