From 00f80efd45353091691a96565de08f4f50c685f8 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 29 Dec 2021 21:22:46 -0500 Subject: [PATCH] Fixed unbound variable warnings (#296) --- entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 2a6da836..577d23f8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -132,6 +132,8 @@ else else echo "::set-output name=any_changed::false" fi + + OTHER_CHANGED="" if [[ -n $ALL_OTHER_CHANGED ]]; then if [[ -n "$UNIQUE_ALL_CHANGED" ]]; then @@ -160,6 +162,8 @@ else else echo "::set-output name=any_modified::false" fi + + OTHER_MODIFIED="" if [[ -n $ALL_OTHER_MODIFIED ]]; then if [[ -n "$UNIQUE_ALL_MODIFIED" ]]; then @@ -188,6 +192,8 @@ else else echo "::set-output name=any_deleted::false" fi + + OTHER_DELETED="" if [[ -n $ALL_OTHER_DELETED ]]; then if [[ -n "$UNIQUE_ALL_DELETED" ]]; then