summaryrefslogtreecommitdiff
path: root/src/php-gettext/examples/update
diff options
context:
space:
mode:
Diffstat (limited to 'src/php-gettext/examples/update')
-rw-r--r--src/php-gettext/examples/update4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php-gettext/examples/update b/src/php-gettext/examples/update
index c8d8b61..76b4308 100644
--- a/src/php-gettext/examples/update
+++ b/src/php-gettext/examples/update
@@ -1,7 +1,7 @@
#!/bin/sh
TEMPLATE=pigs.pot
-xgettext -kT_ngettext:1,2 -kT_ -L PHP -o $TEMPLATE pigs.php
-if [ x$1 == 'x-p' ]; then
+xgettext -kT_ngettext:1,2 -kT_ -L PHP -o $TEMPLATE pigs_dropin.php
+if [ "x$1" = "x-p" ]; then
msgfmt --statistics $TEMPLATE
else
if [ -f $1.po ]; then