From e1f2bf24b38eef5afc4b99380665c51b474ec2e5 Mon Sep 17 00:00:00 2001 From: a3hadi Date: Wed, 6 Mar 2024 14:25:37 -0500 Subject: [PATCH] modify update script Signed-off-by: a3hadi --- update_examples.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/update_examples.sh b/update_examples.sh index 36d068a1..3bff9f3d 100755 --- a/update_examples.sh +++ b/update_examples.sh @@ -1,7 +1,5 @@ #!/bin/bash -commit_sha="" - function show_help () { echo "Usage: $0 [-h|--help] (-b|--build | -c|--commit-sha )" echo " -h, --help Display help message and exit" @@ -33,9 +31,10 @@ if [ $# -eq 0 ]; then exit 1 fi +usingHelp=0 usingBuild=0 usingSHA=0 -usingHelp=0 +commit_sha="" handle_options() { while [ $# -gt 0 ]; do