Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite60d9ab

Browse files
committed
Use double brackets for test
1 parente567afb commite60d9ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎scripts/push/renew-catalog-template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ls -lt locales/pot
1717
cd locales
1818
git add pot
1919
git status
20-
if [$(git status -s| wc -l)-eq 0 ];then
20+
if [[$(git status -short| wc -l)== 0]];then
2121
echo"no .pot file to update"
2222
exit 0
2323
fi

‎scripts/push/upload-catalog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tx pull --force --language ja
1515
cd ja/LC_MESSAGES
1616
git add*.po**/*.po
1717
git status
18-
if [$(git status --short| wc -l)-eq 0 ];then
18+
if [[$(git status --short| wc -l)== 0]];then
1919
echo"no .po file to upload"
2020
else
2121
echo"I have .po file(s) to upload"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp