mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Adjust awk to not add trailing whitespace.
* mksamplekeys: Tweak awk script to not add trailing whitespace to blank lines (makes git pre-commit hook unhappy)
This commit is contained in:
parent
7602d9e3ed
commit
3f8ad56467
@ -1,11 +1,10 @@
|
||||
#/bin/sh
|
||||
# Generate a samplekeys.asc
|
||||
|
||||
keys='1E42B367 99242560 87978569
|
||||
4F25E3B6 5B0358A2 57548DCD B2D7795E 1CE0C630'
|
||||
keys='1E42B367 99242560 87978569 4F25E3B6 5B0358A2 57548DCD B2D7795E 1CE0C630'
|
||||
|
||||
for i in $keys; do
|
||||
gpg --list-keys $i | awk ' { print " " $0 }'
|
||||
gpg --list-keys $i | awk '{ if ( $0 != "") print " " $0; else print $0; }'
|
||||
done
|
||||
echo
|
||||
gpg --export-options export-minimal --export -a $keys
|
||||
|
Loading…
x
Reference in New Issue
Block a user