summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-11-07 14:47:58 +1000
committerDan McGee <dan@archlinux.org>2011-11-07 09:14:09 -0600
commite7b56f48d704f57f023d7ca3cdc9d492fb31a9cb (patch)
treee48bf381d6fa973bf3390eb36245eb93d340db97 /scripts/makepkg.sh.in
parent601c808b8d3d4eec76b215e56f1d56f4fe591367 (diff)
downloadpacman-e7b56f48d704f57f023d7ca3cdc9d492fb31a9cb.tar.xz
makepkg: handle pgp signatures with .sign extension
Detached sgnature files with extension .sign are accepted by gnupg. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 3085bf59..5d048d28 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -334,7 +334,7 @@ in_array() {
source_has_signatures(){
local file
for file in "${source[@]}"; do
- if [[ $file = *.@(sig|asc) ]]; then
+ if [[ $file = *.@(sig?(n)|asc) ]]; then
return 0
fi
done
@@ -704,7 +704,7 @@ check_pgpsigs() {
for file in "${source[@]}"; do
file="$(get_filename "$file")"
- if [[ ! $file = *.@(sig|asc) ]]; then
+ if [[ ! $file = *.@(sig?(n)|asc) ]]; then
continue
fi