Add handling for binary dc-files

This commit is contained in:
Gerhard Hoffmann 2023-03-30 12:49:45 +02:00
parent 17abc2e768
commit bfff914e1d

View File

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