Stop on wrong parameter provided

This commit is contained in:
Manuel Tortosa 2010-06-20 00:12:29 +02:00
parent 10d8641f4d
commit b97d4805a5

View File

@ -36,7 +36,7 @@ current_repo="$_cur_repo"
build_it()
{
_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