summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}