index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2010-08-05 21:37:22 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-23 21:51:45 -0500 |
commit | a28868eeae98b28c00f8112e8d81403ad21a3117 (patch) | |
tree | 08c9140f1b124dffb5684fc5807cb4c76ee70f88 | |
parent | 08e1d4764cdc7f62b11be4b411071b6a87118c93 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index eb3bd86d..272c3292 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1233,7 +1233,7 @@ check_sanity() { for i in "${optdepends[@]}"; do local pkg=${i%%:*} - if [[ ! $pkg =~ ^[[:alnum:]\>\<\=\.\+\_\-]*$ ]]; then + if [[ ! $pkg =~ ^[[:alnum:]\>\<\=\.\+\_\-]+$ ]]; then error "$(gettext "Invalid syntax for optdepend : '%s'")" "$i" fi done |