diff options
author | Jeremy Bowman <jbowman@safaribooksonline.com> | 2016-03-18 16:46:31 -0400 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2020-05-13 13:55:00 +1000 |
commit | 85107918b5481f0d47e6409a3bbdcaf8789aaba4 (patch) | |
tree | acf293ec9ceaf07d1246cd4c4effbc7f48b5c733 | |
parent | 5224d700dde21342535e0e79b3c521dd447aed21 (diff) | |
download | mediagoblin-85107918b5481f0d47e6409a3bbdcaf8789aaba4.tar.lz mediagoblin-85107918b5481f0d47e6409a3bbdcaf8789aaba4.tar.xz mediagoblin-85107918b5481f0d47e6409a3bbdcaf8789aaba4.zip |
Fix Mac dev setup issues [#5442].
A trailing slash in devtools/compile_translations.sh caused that script to fail
because the parameter to pybabel's -l option ended up blank instead of
containing the language code.
A few files and directories were missing from .gitignore and hence wound up
in the list of local changes to be committed.
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | AUTHORS | 1 | ||||
-rwxr-xr-x | devtools/compile_translations.sh | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -42,6 +42,7 @@ /aclocal.m4 # Tests +/mediagoblin/tests/.cache/ /mediagoblin/tests/user_dev/ # File extensions @@ -65,3 +66,7 @@ venv* /extlib/tinymce/ /extlib/video.js/ /extlib/videojs-resolution-switcher + +# Mac files +.DS_Store +.Python @@ -54,6 +54,7 @@ Thank you! * Jaakko Luttinen * Jakob Kramer * Jef van Schendel +* Jeremy Bowman * Jeremy Pope * jerome * Jessica Tallon diff --git a/devtools/compile_translations.sh b/devtools/compile_translations.sh index 787a4554..1ef9d979 100755 --- a/devtools/compile_translations.sh +++ b/devtools/compile_translations.sh @@ -35,7 +35,7 @@ fi ## ## List of uncompilable translations: Lojban (jbo), Interlingua (ia) -for file in `find mediagoblin/i18n/ -name "*.po"`; do +for file in `find mediagoblin/i18n -name "*.po"`; do if [ "$file" != "mediagoblin/i18n/jbo/mediagoblin.po" ] && \ [ "$file" != "mediagoblin/i18n/ia/mediagoblin.po" ] && \ [ "$file" != "mediagoblin/i18n/templates/en/mediagoblin.po" ]; then |