X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=a185bac979dd6d00d749d26328e4b12a4e3483c8;hb=41c3f3d78d79531863110f5ffd9ae8ee5a2b3986;hp=66475695e97fb6d1929df2a52401a8f6297700f1;hpb=e55fed0f6a965a1c625f5282e164f82bb888c78b;p=bup.git diff --git a/Makefile b/Makefile index 6647569..a185bac 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,10 @@ lib/bup/_helpers$(SOEXT): \ @rm -f $@ cd lib/bup && \ LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" "$(bup_python)" csetup.py build - cp lib/bup/build/*/_helpers$(SOEXT) lib/bup/ + # 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' '{}' \; | wc -c | xargs test 1 -eq + cp lib/bup/build/*/_helpers*$(SOEXT) "$@" lib/bup/_checkout.py: @if grep -F '$Format' lib/bup/_release.py \ @@ -148,6 +151,7 @@ runtests-python: all t/tmp | tee -a t/tmp/test-log/$$$$.log cmdline_tests := \ + t/test-ftp \ t/test-save-restore \ t/test-packsizelimit \ t/test-prune-older \