index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <d@falconindy.com> | 2011-12-10 23:10:49 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-12 12:47:46 -0600 |
commit | 5f0df423033c94e8ae52ca642284bf6a50fa9bbb (patch) | |
tree | 07b203665d2b26ebc2529b336af9d832c08314b2 | |
parent | 1a1f5540a4533ea41038128026c75fe023410a99 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index a0a94fe1..a4a3d13d 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -331,10 +331,10 @@ in_array() { return 1 # Not Found } -source_has_signatures(){ +source_has_signatures() { local file for file in "${source[@]}"; do - if [[ $file = *.@(sig?(n)|asc) ]]; then + if [[ ${file%%::*} = *.@(sig?(n)|asc) ]]; then return 0 fi done |