From 3d4693183926b51d7a4139f710c58480a34cfbd3 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 23 Nov 2022 19:38:21 -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 1a29a448..90d2adcc 100755 --- a/get-changed-paths.sh +++ b/get-changed-paths.sh @@ -41,7 +41,7 @@ function get_dirname_max_depth() { local depth="2" while [ "$depth" -le "$max_depth" ]; do - output="$output/${dirs[$depth]}" + output="$output/${dirs[${depth}]}" depth=$((depth + 1)) done