fixed regex
This commit is contained in:
parent
d4934b1f07
commit
17abc2e768
@ -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|dc/dc2c.hex)" <<< $fn; then
|
if grep -E -q "(DC.*json|dc2c.hex|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
|
||||||
|
Loading…
Reference in New Issue
Block a user