summaryrefslogtreecommitdiff
path: root/security/gpgme03/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'security/gpgme03/patches/patch-ab')
-rw-r--r--security/gpgme03/patches/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/gpgme03/patches/patch-ab b/security/gpgme03/patches/patch-ab
new file mode 100644
index 00000000000..f2351ef6ec2
--- /dev/null
+++ b/security/gpgme03/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/12/14 17:51:04 wiz Exp $
+--- tests/gpg/mkdemodirs.orig Wed Oct 17 06:08:55 2001
++++ tests/gpg/mkdemodirs Wed Jan 30 14:17:56 2002
+@@ -25,7 +25,9 @@
+ echo -n "Creating:"
+ for name in $NAMES; do
+ echo -n " $name"
+- [ -d $name ] && rm -r $name
++ if [ -d $name ]; then
++ rm -r $name
++ fi
+ mkdir $name
+ $GPGDEMO --export-secret-key -o - $name > $name/Secret.gpg
+ $GPG --homedir $name --allow-secret-key-import --import $name/Secret.gpg