Update get-changed-paths.sh

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

View File

@ -38,9 +38,9 @@ function get_dirname_max_depth() {
fi
local output=${dirs[1]}
local depth=2
local depth="2"
while [ $depth -le "$max_depth" ]; do
while [ "$depth" -le "$max_depth" ]; do
output="$output/${dirs[$depth]}"
depth=$((depth + 1))
done