mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-16 19:27:39 +00:00
Update get-changed-paths.sh
This commit is contained in:
parent
df466ccd7d
commit
80e364a5d0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue