mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-02 10:21:49 -05:00
makepkg: error on invalid optdepends
Missed in commit a88cb03a. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
d8c4b12c66
commit
35a8cf134b
@ -1281,6 +1281,7 @@ check_sanity() {
|
||||
local pkg=${i%%:*}
|
||||
if [[ ! $pkg =~ ^[[:alnum:]\>\<\=\.\+\_\-]+$ ]]; then
|
||||
error "$(gettext "Invalid syntax for optdepend : '%s'")" "$i"
|
||||
ret=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user