From 29207bcd3bf4de7264197db6758130375b16d9bb Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 20 Sep 2016 19:46:04 +0200 Subject: [PATCH] tests: Improve portability. * lang/qt/tests/Makefile.am (clean-local): Avoid non-portable "--" * lang/python/Makefile.am (copystamp): Use well defined cp -R instead of cp -r. Signed-off-by: Werner Koch --- lang/python/Makefile.am | 4 ++-- lang/qt/tests/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am index 9ec9c4aa..da626d1b 100644 --- a/lang/python/Makefile.am +++ b/lang/python/Makefile.am @@ -48,8 +48,8 @@ COPY_FILES_PYME = \ # distutils are not VPATH-aware. copystamp: $(COPY_FILES) $(COPY_FILES_PYME) if test "$(srcdir)" != "$(builddir)" ; then \ - cp -r $(COPY_FILES) . ; \ - cp -r $(COPY_FILES_PYME) pyme ; \ + cp -R $(COPY_FILES) . ; \ + cp -R $(COPY_FILES_PYME) pyme ; \ fi touch $@ diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am index 90f29781..f243a55e 100644 --- a/lang/qt/tests/Makefile.am +++ b/lang/qt/tests/Makefile.am @@ -71,7 +71,7 @@ CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \ gpg.conf clean-local: - -rm -fR -- private-keys-v1.d + -rm -fR private-keys-v1.d crls.d export GNUPGHOME := $(abs_builddir)