From 71e4dce807caa57d113d252e1321fe539b87ebb5 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Wed, 28 Jun 2023 16:14:19 -0700 Subject: [PATCH] scripts/sync-pull: update argument check to look for $3 Catch the error where three arguments are not supplied. Signed-off-by: Dan Mick --- scripts/sync-pull | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-pull b/scripts/sync-pull index 15633c54..23edceab 100755 --- a/scripts/sync-pull +++ b/scripts/sync-pull @@ -1,6 +1,6 @@ #!/bin/bash -: ${2?"Usage: $0 \$project \$release \$sha1"} +: ${3?"Usage: $0 \$project \$release \$sha1"} # Script exits here if command-line parameter absent, #+ with following error message. # usage-message.sh: 1: Usage: sync-pull $project $release $sha1 -- 2.47.3