mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:38:28 +08:00
Stop on wrong parameter provided
This commit is contained in:
parent
10d8641f4d
commit
b97d4805a5
2
build.sh
2
build.sh
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user