Update get-changed-paths.sh
This commit is contained in:
parent
df466ccd7d
commit
80e364a5d0
@ -37,7 +37,7 @@ function dirname_max_depth() {
|
||||
local output=${dirs[1]}
|
||||
local depth=2
|
||||
|
||||
while [ $depth -le $max_depth ]; do
|
||||
while [ $depth -le "$max_depth" ]; do
|
||||
if [[ -n "${dirs[$depth]}" ]]; then
|
||||
output="$output/${dirs[$depth]}"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user