what is happening here, for all hails sake
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-21 16:29:41 +02:00
parent 6639d8d0c2
commit bcd8242061

View File

@@ -1,11 +1,16 @@
#!/bin/bash #!/bin/bash
CHANGES=() declare -A CH
CH=()
git diff-tree --no-commit-id --name-only HEAD -r | \
while read line; do while read line; do
CHANGES+=$(dirname ${line}) WHAT=$(dirname ${line})
done echo "LIN: ${line} WHAT: ${WHAT}"
echo ${CHANGES} echo $CH
done < <(git diff-tree --no-commit-id --name-only HEAD -r)
echo ${CH}
UNIQ=$(echo ${CHANGES} |sort |uniq) UNIQ=$(echo ${CH} |sort |uniq)
echo ${UNIQ} echo ${UNIQ}