diff --git a/.githooks/post-merge b/.githooks/post-merge index 725dc76..fece6e7 100755 --- a/.githooks/post-merge +++ b/.githooks/post-merge @@ -19,7 +19,7 @@ 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 - local fsize=$(ls -l $fn | awk '{ print $5 }') + fsize=$(ls -l $fn | awk '{ print $5 }') # add size so external programs can check echo "$fn $fsize" >> $GIT_PULL_TMP fi