projects
/
scuttle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tagged 0.7.5
[scuttle]
/
includes
/
php-gettext
/
examples
/
update
diff --git
a/includes/php-gettext/examples/update
b/includes/php-gettext/examples/update
old mode 100644
(file)
new mode 100755
(executable)
index
c8d8b61
..
76b4308
--- a/
includes/php-gettext/examples/update
+++ b/
includes/php-gettext/examples/update
@@
-1,7
+1,7
@@
#!/bin/sh
TEMPLATE=pigs.pot
#!/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
msgfmt --statistics $TEMPLATE
else
if [ -f $1.po ]; then
Benjamin Mako Hill
||
Want to submit a patch?