mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 09:32:27 +02:00
remove check_project() (always set variables)
in lbmk, we call check_project() to set variables such as projectname, version, version date this is unnecessary, because all main scripts use this functionality anyway do it by default Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -29,7 +29,7 @@ main()
|
||||
|
||||
[ "$1" = "dependencies" ] && x_ install_packages $@ && lbmk_exit 0
|
||||
|
||||
for cmd in initcmd check_git check_project git_init excmd; do
|
||||
for cmd in initcmd check_git git_init excmd; do
|
||||
eval "${cmd} \$@"
|
||||
done
|
||||
lbmk_exit 0
|
||||
@@ -39,8 +39,6 @@ initcmd()
|
||||
{
|
||||
[ "$(id -u)" != "0" ] || $err "this command as root is not permitted"
|
||||
|
||||
check_project
|
||||
|
||||
case "${1}" in
|
||||
help) usage ${0} ;;
|
||||
list) items "script" ;;
|
||||
@@ -136,8 +134,6 @@ mkrelease()
|
||||
esac
|
||||
done
|
||||
|
||||
check_project
|
||||
|
||||
vdir="${vdir}/${version}"
|
||||
[ "${mode}" = "u-boot" ] && relname="u-boot-for-${relname}"
|
||||
src_dirname="${relname}_src"
|
||||
|
||||
Reference in New Issue
Block a user