From 1830acb141a78112c03da989404f309bc425e424 Mon Sep 17 00:00:00 2001 From: Judy Ng Date: Wed, 3 Jan 2024 15:36:27 -0500 Subject: [PATCH] Shellcheck warning fixes to create attribution doc Signed-off-by: Judy Ng --- util/create-attribution-doc.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/util/create-attribution-doc.sh b/util/create-attribution-doc.sh index 950b0a4d4f..90ee489556 100755 --- a/util/create-attribution-doc.sh +++ b/util/create-attribution-doc.sh @@ -42,7 +42,7 @@ function create_attribution_doc() { # install pcluster via source - pip3 install -e $(dirname $ATTR_SCRIPT_DIR )/cli + pip3 install -e "$(dirname $ATTR_SCRIPT_DIR )/cli" #pip3 install -r requirements.txt final_license_file=$(dirname $ATTR_SCRIPT_DIR )/THIRD-PARTY-LICENSES.txt @@ -103,7 +103,8 @@ _error_exit() { } _help() { - local -- _cmd=$(basename "$0") + local -- _cmd + _cmd=$(basename "$0") cat <