Update get-changed-paths.sh
This commit is contained in:
parent
1c9a614a4f
commit
3840bc84e6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user