[Pkg-gnupg-commit] [gnupg2] 76/292: tests, w32: Avoid using 'glob'.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:27 UTC 2016


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

dkg pushed a commit to branch master
in repository gnupg2.

commit 949e70115eb2c04bd09da6477f6c433e6fd9a366
Author: Justus Winter <justus at g10code.com>
Date:   Tue Oct 4 12:46:00 2016 +0200

    tests,w32: Avoid using 'glob'.
    
    * tests/openpgp/setup.scm: Avoid 'glob' which is not available on
    mingw.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 tests/openpgp/setup.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/openpgp/setup.scm b/tests/openpgp/setup.scm
index d4a3e37..0a9a153 100755
--- a/tests/openpgp/setup.scm
+++ b/tests/openpgp/setup.scm
@@ -127,8 +127,7 @@
    (setenv "GNUPGHOME" (getcwd) #t)
    (create-gpghome)
    (kill-agent)
-   (call-check `(,(tool 'gpgtar) --create --output ,(cadr *args*)
-		 ,@(glob "*")))))
+   (call-check `(,(tool 'gpgtar) --create --output ,(cadr *args*) "."))))
  ((member "--unpack-tarball" *args*)
   (call-check `(,(tool 'gpgtar) --extract --directory=. ,(cadr *args*)))
   (start-agent))

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



More information about the Pkg-gnupg-commit mailing list