Fixed typo
This commit is contained in:
parent
5f3a7608ba
commit
cc75917193
@ -14,12 +14,14 @@ fi
|
||||
GIT_PULL_TMP=/tmp/git_pull
|
||||
OPKG_CMDS_TMP=/tmp/opkg_commands
|
||||
|
||||
rm -f $OPKG_PULL_TMP
|
||||
rm -f $GIT_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.*hex|dc.*bin|tariff.*json)" <<< $fn; then
|
||||
echo "$fn" >> $GIT_PULL_TMP
|
||||
local fsize=$(ls -l $fn | awk '{ print $5 }')
|
||||
# add size so external programs can check
|
||||
echo "$fn $fsize" >> $GIT_PULL_TMP
|
||||
fi
|
||||
if grep -E -q ".*opkg_commands" <<< $fn; then
|
||||
readarray opkg_commands < <(cat $fn)
|
||||
|
Loading…
Reference in New Issue
Block a user