diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-04-11 04:19:09 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-04-11 04:19:09 (EDT) |
commit | 9e3dd70b4d88b1d03834d6427efd213e2be2f2bf (patch) | |
tree | f6225d41a9be11ed807d86504801d94d229cc1cb | |
parent | e47635e8eda564aa1adfc75fde1e88e3dd0a38d4 (diff) | |
download | libreboot-9e3dd70b4d88b1d03834d6427efd213e2be2f2bf.zip libreboot-9e3dd70b4d88b1d03834d6427efd213e2be2f2bf.tar.gz libreboot-9e3dd70b4d88b1d03834d6427efd213e2be2f2bf.tar.bz2 |
download (script): "./download all" not "./download everything"
For consistency with "./build module all"
-rw-r--r-- | docs/git/index.html | 2 | ||||
-rwxr-xr-x | download | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/git/index.html b/docs/git/index.html index b8997e2..ed2b504 100644 --- a/docs/git/index.html +++ b/docs/git/index.html @@ -121,7 +121,7 @@ <p> After that, run the script:<br/> - $ <b>./download everything</b> + $ <b>./download all</b> </p> <p> @@ -31,21 +31,21 @@ availableprogrammes="$(ls $download/)" # User specified no or too few/many parameters if (( $# != 1 )); then printf "$usage\n\n" - printf "possible values for 'programme':\neverything:\n$availableprogrammes\n\n" - printf "Example (download everything): ./download everything\n" + printf "possible values for 'programme':\nall:\n$availableprogrammes\n\n" + printf "Example (download everything): ./download all\n" printf "Example (download coreboot): ./download coreboot\n\n" exit 1 fi programme=$1 -if [ "$programme" = "everything" ]; then +if [ "$programme" = "all" ]; then for programme in $availableprogrammes; do $download/$programme done elif [ -f "$download/$programme" ]; then $download/$programme else - printf "Invalid programme. Available programmes are:\neverything\n$availableprogrammes\n" + printf "Invalid programme. Available programmes are:\nall\n$availableprogrammes\n" exit 1 fi |