In case we have a git clone from Linux that is accessed via cygwin git the files executable status will be derived from the file content (shebang) and won't match the git repo, leading to a initially dirty tree. This can be worked around by setting "core.filemode=false", but let's try to match the cygwin permissions with the in-repo permissions so this isn't needed.
18 lines
317 B
Bash
Executable File
18 lines
317 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. PKGBUILD
|
|
|
|
set -e
|
|
|
|
_keyserver=(
|
|
"keyserver.ubuntu.com"
|
|
"keys.gnupg.net"
|
|
"pgp.mit.edu"
|
|
"keys.openpgp.org"
|
|
)
|
|
for key in "${validpgpkeys[@]}"; do
|
|
for server in "${_keyserver[@]}"; do
|
|
timeout 20 /usr/bin/gpg --keyserver "${server}" --recv "${key}" && break || true
|
|
done
|
|
done
|