From 35a8cf134bedf723dc6df5c6c2d6744ed942f31f Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Thu, 3 Feb 2011 10:15:36 +1000 Subject: makepkg: error on invalid optdepends Missed in commit a88cb03a. Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index ebafa0b7..e8f57e14 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 -- cgit v1.2.3-70-g09d2