fixed regex

This commit is contained in:
Gerhard Hoffmann 2023-03-27 16:41:10 +02:00
parent d4934b1f07
commit 17abc2e768

View File

@ -18,7 +18,7 @@ rm -f $OPKG_PULL_TMP
rm -f $OPKG_CMDS_TMP
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
if grep -E -q ".*(DC*.json|dc/dc2c.hex)" <<< $fn; then
if grep -E -q "(DC.*json|dc2c.hex|tariff.*json)" <<< $fn; then
echo "$fn" >> $GIT_PULL_TMP
fi
if grep -E -q ".*opkg_commands" <<< $fn; then