We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e567afb commit e60d9abCopy full SHA for e60d9ab
scripts/push/renew-catalog-template
@@ -17,7 +17,7 @@ ls -lt locales/pot
17
cd locales
18
git add pot
19
git status
20
-if [ $(git status -s | wc -l) -eq 0 ]; then
+if [[ $(git status -short | wc -l) == 0 ]]; then
21
echo "no .pot file to update"
22
exit 0
23
fi
scripts/push/upload-catalog
@@ -15,7 +15,7 @@ tx pull --force --language ja
15
cd ja/LC_MESSAGES
16
git add *.po **/*.po
-if [ $(git status --short | wc -l) -eq 0 ]; then
+if [[ $(git status --short | wc -l) == 0 ]]; then
echo "no .po file to upload"
else
echo "I have .po file(s) to upload"
0 commit comments