[Pkg-gnupg-commit] [gpgme] 390/412: tests: Improve portability.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:27:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gpgme.

commit 29207bcd3bf4de7264197db6758130375b16d9bb
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Sep 20 19:46:04 2016 +0200

    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 <wk at gnupg.org>
---
 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 9ec9c4a..da626d1 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 90f2978..f243a55 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)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list