Files
docker-images/bin/find_changes.sh
Udo Waechter 98234e569a
All checks were successful
continuous-integration/drone/push Build is passing
WHOA Sun 21 Apr 17:23:21 CEST 2024
2024-04-21 17:23:21 +02:00

15 lines
308 B
Bash
Executable File

#!/bin/bash
declare -A CH
CH=()
i=0
echo $(git --version)
while read line; do
WHAT=$(dirname ${line})
echo "LIN: ${line} WHAT: ${WHAT}"
CH[$i]=$WHAT
i=$((i++))
done < <(git diff-tree --no-commit-id --name-only HEAD -r| egrep '^_')
#echo "UNIQ:"
UNIQ=$(echo ${CH} |sort |uniq)
echo ${UNIQ}