aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-02-02 22:44:01 +0000
committerNicolas Vigier <boklm@mageia.org>2011-02-02 22:44:01 +0000
commitd8960ee13570bad9881f71931bf2fa2aa0cf7bb8 (patch)
tree06eeacf78fed0c122a9db3c5ce87e5fe589b9c34
parent89b9899e7b00c19c98958e3b99d985d1bacf021e (diff)
downloadgpg-d8960ee13570bad9881f71931bf2fa2aa0cf7bb8.tar
gpg-d8960ee13570bad9881f71931bf2fa2aa0cf7bb8.tar.gz
gpg-d8960ee13570bad9881f71931bf2fa2aa0cf7bb8.tar.bz2
gpg-d8960ee13570bad9881f71931bf2fa2aa0cf7bb8.tar.xz
gpg-d8960ee13570bad9881f71931bf2fa2aa0cf7bb8.zip
move board.batch to input directory
-rwxr-xr-xgenerate-key.sh3
-rw-r--r--input/board.batch (renamed from board.batch)0
2 files changed, 2 insertions, 1 deletions
diff --git a/generate-key.sh b/generate-key.sh
index 40f822b..e9763bf 100755
--- a/generate-key.sh
+++ b/generate-key.sh
@@ -3,6 +3,7 @@
GPGHOMEDIR="./homedir"
PUBDIR="./public"
PRIVDIR="./private"
+INPUTDIR="./input"
pubkey="$PUBDIR/mageia-board-pubkey.gpg"
seckey="$PRIVDIR/mageia-board-seckey.gpg"
@@ -15,7 +16,7 @@ read z
chmod 700 "$GPGHOMEDIR"
echo "Generate key :"
-gpg --homedir "$GPGHOMEDIR" --batch --gen-key board.batch
+gpg --homedir "$GPGHOMEDIR" --batch --gen-key "$INPUTDIR/board.batch"
echo "Public key :"
gpg --homedir "$GPGHOMEDIR" --list-keys
diff --git a/board.batch b/input/board.batch
index c173f24..c173f24 100644
--- a/board.batch
+++ b/input/board.batch