variabletime/compatibleHa.sh

15 lines
303 B
Bash
Raw Permalink Normal View History

2023-09-24 18:39:52 +02:00
#!/bin/bash
# get compatible dependencies hash
CUR_PWD=$(pwd)
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
ADDONS=$(cat addons.make)
for a in $ADDONS; do
echo "compatible $a hash:"
cd ${DIR}/../../../addons/$a && git rev-parse HEAD && cd $CUR_PWD
done
cd $CUR_PWD