From 63f38f9f4104b0f0b5a8bea2d7c293853c16f5c4 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 23 Nov 2022 19:46:28 -0700 Subject: [PATCH] Update get-changed-paths.sh --- get-changed-paths.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/get-changed-paths.sh b/get-changed-paths.sh index 90d2adcc..af5fab8c 100755 --- a/get-changed-paths.sh +++ b/get-changed-paths.sh @@ -41,6 +41,7 @@ function get_dirname_max_depth() { local depth="2" while [ "$depth" -le "$max_depth" ]; do + current_dir="${dirs[2]}" output="$output/${dirs[${depth}]}" depth=$((depth + 1)) done