diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-16 11:15:10 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-11-16 11:15:10 +0100 |
commit | 1339a64632c441e4d7858bd5946738c9840c624d (patch) | |
tree | 0b1393ca9af05d1af690fbf6c569c195f4136e4c /bin/gettext-extract | |
parent | 17cc40a8a2387669984ae4a36bb0d30d889d1a07 (diff) | |
parent | 4fb5331abd2fa4c89ebeb89bc92a245fadd0aa19 (diff) |
Merge branch 'fiksgatami-dev' into fiksgatami-prod
Oppgrader prod til 1.7
Diffstat (limited to 'bin/gettext-extract')
-rwxr-xr-x | bin/gettext-extract | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract index c1f3d384e..ca37e9d6d 100755 --- a/bin/gettext-extract +++ b/bin/gettext-extract @@ -9,6 +9,11 @@ cd "$(dirname $(readlink -f $BASH_SOURCE))/.." +# Install required code if needed +vendor/bin/carton install --path local-gettext --cpanfile locale/cpanfile --deployment +export PATH="local-gettext/bin:$PATH" +export PERL5LIB="local-gettext/lib/perl5:local/lib/perl5" + # File to write to, clear it to start with PO=locale/FixMyStreet.po rm -f $PO |