move download/gitmodule script to root directory

this fixes the build error:

Error: name not set
Usage: ./download gitmodule [name]

when running:

./download all

running "all" runs all scripts under downloads,
one of which was the gitmodule script itself, therefore
being run without argument
This commit is contained in:
Leah Rowe 2023-03-17 23:08:12 +00:00
parent 59540530bc
commit a942bd6590
8 changed files with 9 additions and 9 deletions

View File

@ -6,7 +6,7 @@
Print_help(){
cat <<- EOF
Usage: ./download gitmodule [name]
Usage: ./gitclone [name]
Options:
name: The name of the module as specified in resources/git/revisions file

View File

@ -3,7 +3,7 @@
# Project name is enclosed by curly braces '{}' information about the
# project relevant to osbmk is stored between the subsequent curly
# braces. This file is used by the gitcheck script as well as the
# gitmodule script. Each entry must include: revision 'rev', location
# gitclone script. Each entry must include: revision 'rev', location
# 'loc', and the git url 'url'. Bkup_url is optional.
{grub}{

View File

@ -21,4 +21,4 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
./download gitmodule flashrom
./gitclone flashrom

View File

@ -21,5 +21,5 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
./download gitmodule grub
./download gitmodule gnulib
./gitclone grub
./gitclone gnulib

View File

@ -22,4 +22,4 @@
set -u -e
printf "Downloading ich9utils\n"
./download gitmodule ich9utils
./gitclone ich9utils

View File

@ -22,4 +22,4 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
./download gitmodule me_cleaner
./gitclone me_cleaner

View File

@ -29,4 +29,4 @@ set -u -e
# ------------------------------------------------------------------------------
printf "Downloading MemTest86+\n"
./download gitmodule memtest86plus
./gitclone memtest86plus

View File

@ -26,4 +26,4 @@ set -u -e
printf "Downloading SeaBIOS\n"
./download gitmodule seabios
./gitclone seabios