Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e74e5c81..2f06b9b3 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -341,7 +341,7 @@ in_array() {
source_has_signatures(){
local file
for file in "${source[@]}"; do
- if [[ $file =~ .*(sig|asc) ]]; then
+ if [[ $file =~ \.(sig|asc)$ ]]; then
return 0
fi
done
@@ -709,7 +709,7 @@ check_pgpsigs() {
for file in "${source[@]}"; do
file="$(get_filename "$file")"
- if [[ ! $file =~ .*(sig|asc) ]]; then
+ if [[ ! $file =~ \.(sig|asc)$ ]]; then
continue
fi