From e7b56f48d704f57f023d7ca3cdc9d492fb31a9cb Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 7 Nov 2011 14:47:58 +1000 Subject: [PATCH] makepkg: handle pgp signatures with .sign extension Detached sgnature files with extension .sign are accepted by gnupg. Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 4 ++-- 1 file 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 -- 2.11.4.GIT