From 6164e1cd7fdc6c8a5a406de58b24eda22444e4ea Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 14 Feb 2023 04:45:30 -0700 Subject: [PATCH] Update get-changed-paths.sh --- get-changed-paths.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-changed-paths.sh b/get-changed-paths.sh index 9d00965e..9d76745b 100755 --- a/get-changed-paths.sh +++ b/get-changed-paths.sh @@ -69,7 +69,7 @@ function get_diff() { local base="$1" local sha="$2" local filter="$3" - local diff="${DIFF:-4}" + local diff="${4:-$DIFF}" while IFS='' read -r sub; do sub_commit_pre="$(git diff "$base" "$sha" -- "$sub" | { grep '^[-]Subproject commit' || true; } | awk '{print $3}')" && exit_status=$? || exit_status=$?