[pacman-dev] [PATCH] makepkg: error on invalid optdepends
3 Feb
2011
3 Feb
'11
12:16 a.m.
Missed in commit a88cb03a. Signed-off-by: Allan McRae <allan@archlinux.org> --- scripts/makepkg.sh.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index ebafa0b..e8f57e1 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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 -- 1.7.4
5071
Age (days ago)
5071
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae