mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tools: Use POSIX compatible arguments for find
* tools/addgnupghome (filelist): Remove bashism.
This commit is contained in:
parent
d4bc805152
commit
dfcc5e6d3e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue