mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
tools: Use POSIX compatible arguments for find
* tools/addgnupghome (filelist): Remove bashism.
This commit is contained in:
parent
e154fba30b
commit
2c35e67e34
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user