fixed regex
This commit is contained in:
parent
406bacd457
commit
89cf8a1e79
@ -15,7 +15,7 @@ GIT_PULL_TMP=/tmp/git_pull
|
||||
OPKG_CMDS_TMP=/tmp/opkg_commands
|
||||
|
||||
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
||||
if grep -E -q ".*(DC*.json|dc/dc2c.hex|tariff*.json)" <<< $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
|
||||
|
Loading…
Reference in New Issue
Block a user