1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

tools: Use POSIX compatible arguments for find

* tools/addgnupghome (filelist): Remove bashism.
This commit is contained in:
Tomi Leppänen 2018-12-11 08:42:33 +01:00 committed by Werner Koch
parent e154fba30b
commit 2c35e67e34
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -107,7 +107,7 @@ if [ ! -d /etc/skel/.gnupg ]; then
exit 1
fi
cd "/etc/skel/.gnupg" || (error "error cd-ing to \`/etc/skel/.gnupg'"; exit 1)
filelist=$(find . \( -type f -or -type d \) -not -name '*~' -not -name . -print)
filelist=$(find . \( -type f -o -type d \) '!' -name '*~' '!' -name . -print)
if ! umask 0077 ; then