Update get-changed-paths.sh

This commit is contained in:
Tonye Jack 2022-11-23 19:38:21 -07:00 committed by GitHub
parent 3840bc84e6
commit 3d46931839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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