Cache body structure in order to reduce network traffic

This commit is contained in:
Jakub
2020-12-30 10:06:11 +01:00
committed by Michal Horejsek
parent 516ca018d3
commit 8ab852277c
15 changed files with 219 additions and 56 deletions

View File

@ -17,7 +17,12 @@
# You should have received a copy of the GNU General Public License
# along with ProtonMail Bridge. If not, see <https://www.gnu.org/licenses/>.
CHANGELOG_FILE="`dirname $0`/../Changelog.md"
if [ $# -ne 1 ]; then
echo "First argument must be path to file"
exit 2
fi
CHANGELOG_FILE=$1
ERROR_COUNT_FILE="`mktemp`"
echo "0">$ERROR_COUNT_FILE