Skip to content

Commit 812fbf9

Browse files
Merge pull request #686 from moduon/fix-pot
[FIX] pot: it doesn't work with symlink
2 parents 470d28f + a630947 commit 812fbf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -e
44
addons=$1
55
shift
66
log INFO Executing Odoo in i18n export mode for addons $addons
7-
# HACK Odoo needs a *.po file to guess the output format
8-
ln -sf /dev/stdout /tmp/stdout.po
97
set -x
10-
exec odoo --stop-after-init -d "$PGDATABASE" --i18n-export /tmp/stdout.po \
8+
odoo --stop-after-init -d "$PGDATABASE" --i18n-export /tmp/stdout.po \
119
--modules "$addons" --update "$addons" --workers 0 "$@"
10+
# HACK Odoo needs a *.po file to guess the output format
11+
cat /tmp/stdout.po

0 commit comments

Comments
 (0)