X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4802e4084d0be246d02129459fbed7f9bc3e3735..88e2c2cae610d479e1b2f82a3d0f19c00e5fb97d:/scripts/save-locale-pack?ds=inline

diff --git a/scripts/save-locale-pack b/scripts/save-locale-pack
index 13f0a61e4..3e1aa524f 100755
--- a/scripts/save-locale-pack
+++ b/scripts/save-locale-pack
@@ -36,6 +36,9 @@ fi
 
 cp -v ${ROOT}/apps/infopages/fixtures/infopages.json "$LOCALIZED/infopages.json"
 ${0}-json.py "$LOCALIZED/infopages.json" $LNG
+if [ ! "$?" = 0 ]; then
+    exit 1;
+fi
 cp -v "$LOCALIZED/infopages.json" ${ROOT}/apps/infopages/fixtures/infopages.json
 cp -v "$LOCALIZED/locale.js.txt" ${ROOT}/wolnelektury/static/js/locale.js