3
0
Fork 0
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:
Tonye Jack 2022-11-23 17:35:43 -07:00 committed by GitHub
parent df466ccd7d
commit 80e364a5d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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