Proper fix for build.sh

This commit is contained in:
Manuel Tortosa 2010-06-22 22:53:34 +02:00
parent b97d4805a5
commit c4124e9d4e

View File

@ -36,7 +36,9 @@ 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}" && exit if [ "$MODE" = "" ] ; then
error "you need to specify a package list defined in _/buildscripts/${_cur_repo}-${_build_arch}-pkgs.conf\n -> ${_available_pkglists}" && exit
fi
cd $_build_work cd $_build_work