]> Untitled Git - lemmy-ui.git/blobdiff - update_translations.sh
Fix profile loading spinner
[lemmy-ui.git] / update_translations.sh
index c5cc1b4e55dada5323f474c4e732c90a3a54c7a8..677eee96a7c95ccdcb9b18ff4967215bb0c74042 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/bash
-pushd ../lemmy-translations || exit
+set -e
+
+pushd ../lemmy-translations
 git fetch weblate
 git merge weblate/main
 git push
-popd || exit
+popd
 
 # look for unused translations
 for langfile in lemmy-translations/translations/*.json; do