Stop on wrong parameter provided

This commit is contained in:
Manuel Tortosa 2010-06-20 00:09:50 +02:00
parent 72609038ac
commit 02bacbaf6e

View File

@ -36,7 +36,7 @@ current_repo="$_cur_repo"
build_it() build_it()
{ {
_mkpkg_flags=$1 _mkpkg_flags=$1
[ -n "$MODE" ] || error "you need to specify a package list defined in _/buildscripts/${_cur_repo}-${_build_arch}-pkgs.conf\n -> ${_available_pkglists}" [ -n "$MODE" ] || error "you need to specify a package list defined in _/buildscripts/${_cur_repo}-${_build_arch}-pkgs.conf\n -> ${_available_pkglists}" && exit
cd $_build_work cd $_build_work