index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-09-01 11:42:55 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-01 11:42:55 -0500 |
commit | 11873b70ae346d06da8590f6bd4bfc19577a8840 (patch) | |
tree | 91ec2d5aff54a7c6975f15fb33bc88b894fd8716 /scripts | |
parent | 11ab9aa9f5f0f3873df89c73e8715b82f485bd9b (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
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 |