All checks were successful
continuous-integration/drone/push Build is passing
11 lines
199 B
Bash
Executable File
11 lines
199 B
Bash
Executable File
#!/bin/bash
|
|
CHANGES=()
|
|
|
|
git diff-tree --no-commit-id --name-only HEAD -r | \
|
|
while read line; do
|
|
CHANGES+=$(dirname ${line})
|
|
done
|
|
echo ${CHANGES}
|
|
|
|
UNIQ=$(echo ${CHANGES} |sort |uniq)
|
|
echo ${UNIQ} |