blob: 6841f3754623ac1f2cec858a4ecb97e4ec991af0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ab,v 1.5 2011/03/03 11:39:47 adam Exp $
--- tests/gpg/mkdemodirs.in.orig 2009-06-15 11:59:37.000000000 +0000
+++ tests/gpg/mkdemodirs.in
@@ -42,7 +42,9 @@ GPGDEMO="$GPG --homedir . --trustdb-name
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 --import $name/Secret.gpg
|