Updated get-changed-paths.sh
This commit is contained in:
parent
d127e35180
commit
1c9a614a4f
@ -41,12 +41,7 @@ function get_dirname_max_depth() {
|
|||||||
local depth=2
|
local depth=2
|
||||||
|
|
||||||
while [ $depth -le "$max_depth" ]; do
|
while [ $depth -le "$max_depth" ]; do
|
||||||
echo "${dirs[*]}"
|
output="$output/${dirs[$depth]}"
|
||||||
if [[ -n "${dirs[$depth]}" ]]; then
|
|
||||||
output="$output/${dirs[$depth]}"
|
|
||||||
else
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
depth=$((depth + 1))
|
depth=$((depth + 1))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user