unify download/build scripts

move resources/scripts/download/ to:
resources/scripts/update/module/

This: ./download coreboot
Is now: ./update module coreboot

However, running "./download coreboot"
still works, via backwards compatibility.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-05-27 11:44:54 +01:00
parent 092600d163
commit ff954c5b73
11 changed files with 3 additions and 106 deletions
+2
View File
@@ -33,6 +33,8 @@ main()
{
if [ "${0##*/}" = "lbmk" ]; then
die "Do not run the lbmk script directly!"
elif [ "${0##*/}" = "download" ]; then
./update module $@
elif [ $# -lt 2 ]; then
die "Too few arguments. Try: ${0} help"
fi