Update get-changed-paths.sh

This commit is contained in:
Tonye Jack
2022-11-23 17:35:43 -07:00
committed by GitHub
parent df466ccd7d
commit 80e364a5d0

View File

@@ -37,7 +37,7 @@ function dirname_max_depth() {
local output=${dirs[1]} local output=${dirs[1]}
local depth=2 local depth=2
while [ $depth -le $max_depth ]; do while [ $depth -le "$max_depth" ]; do
if [[ -n "${dirs[$depth]}" ]]; then if [[ -n "${dirs[$depth]}" ]]; then
output="$output/${dirs[$depth]}" output="$output/${dirs[$depth]}"
else else