Commit
3306a802a11b8d "_helpers: fix module init, and get it at least
building with py3" breaks building bup on macOS:
$ make
[...]
running build_ext
find lib/bup/build/* -maxdepth 1 -name '_helpers*.so' \
-exec printf 'x\c' '{}' \; | wc -c | xargs test 1 -eq
printf: missing format character
make: *** [lib/bup/_helpers.so] Error 1
So don't count characters printed for each file found, but count the
filenames found ("lines") itself.
Tested on Debian Linux 9 and macOS 10.13.3.
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
+ | wc -l | xargs test 1 -eq
cp lib/bup/build/*/_helpers*$(SOEXT) "$@"
lib/bup/_checkout.py: