summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-18 12:56:42 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-18 12:56:42 +0100
commite804849486c075b442ba7067dace6e6eb44d20fe (patch)
treeb4a69d7ff77e6ad9bb8a29356e02deeda89b5b60
parentfd2ca12e9e9b6eb476033bf6db37d6c27436b97b (diff)
gitclone: minor cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xgitclone6
1 files changed, 2 insertions, 4 deletions
diff --git a/gitclone b/gitclone
index 779597b4..20f54453 100755
--- a/gitclone
+++ b/gitclone
@@ -56,11 +56,9 @@ verify_config()
{
if [ -z "${revision+x}" ]; then
err 'Error: revision not set'
- fi
- if [ -z "${location+x}" ]; then
+ elif [ -z "${location+x}" ]; then
err 'Error: location not set'
- fi
- if [ -z "${url+x}" ]; then
+ elif [ -z "${url+x}" ]; then
err 'Error: url not set'
fi
}