OSDN Git Service

Fix indent
authorHironori Fujimoto <broadbarredfirefish@gmail.com>
Thu, 8 Mar 2018 09:45:33 +0000 (18:45 +0900)
committerHironori Fujimoto <broadbarredfirefish@gmail.com>
Thu, 8 Mar 2018 09:45:33 +0000 (18:45 +0900)
update.sh

index b5f8177..18abfd5 100755 (executable)
--- a/update.sh
+++ b/update.sh
@@ -7,40 +7,40 @@ source ./api_token.sh
 TXDIR=transifex
 TXPROJECT=wesnoth-dev-japanese
 RESOURCES="wesnoth \
-   wesnoth-ai \
-   wesnoth-anl \
-   wesnoth-aoi \
-   wesnoth-did \
-   wesnoth-dm \
-   wesnoth-dw \
-   wesnoth-editor \
-   wesnoth-ei \
-   wesnoth-help \
-   wesnoth-httt \
-   wesnoth-l \
-   wesnoth-lib \
-   wesnoth-low \
-   wesnoth-manpages \
-   wesnoth-manual \
-   wesnoth-multiplayer \
-   wesnoth-nr \
-   wesnoth-sof \
-   wesnoth-sota \
-   wesnoth-sotbe \
-   wesnoth-tb \
-   wesnoth-test \
-   wesnoth-thot \
-   wesnoth-trow \
-   wesnoth-tsg \
-   wesnoth-tutorial \
-   wesnoth-units \
-   wesnoth-utbs"
+           wesnoth-ai \
+           wesnoth-anl \
+           wesnoth-aoi \
+           wesnoth-did \
+           wesnoth-dm \
+           wesnoth-dw \
+           wesnoth-editor \
+           wesnoth-ei \
+           wesnoth-help \
+           wesnoth-httt \
+           wesnoth-l \
+           wesnoth-lib \
+           wesnoth-low \
+           wesnoth-manpages \
+           wesnoth-manual \
+           wesnoth-multiplayer \
+           wesnoth-nr \
+           wesnoth-sof \
+           wesnoth-sota \
+           wesnoth-sotbe \
+           wesnoth-tb \
+           wesnoth-test \
+           wesnoth-thot \
+           wesnoth-trow \
+           wesnoth-tsg \
+           wesnoth-tutorial \
+           wesnoth-units \
+           wesnoth-utbs"
 
 # set transifex project
 if [ ! -e ${TXDIR} ]; then
-       mkdir ${TXDIR}
+  mkdir ${TXDIR}
   tx init ${TX_DIR} --token=${TX_TOKEN} --force --no-interactive
-       cd ${TXDIR}
+  cd ${TXDIR}
     tx config mapping-remote https://www.transifex.com/projects/p/${TXPROJECT}/
     cd ../
 fi
@@ -51,12 +51,12 @@ cd ../
 
 for RESOURCE in ${RESOURCES}
 do
-       if [ ! -e ${RESOURCE} ]; then
-               mkdir -p ${RESOURCE}
-       fi
-       cp ${TXDIR}/translations/${TXPROJECT}.${RESOURCE}/ja.po ${RESOURCE}/ja.po
+  if [ ! -e ${RESOURCE} ]; then
+    mkdir -p ${RESOURCE}
+  fi
+  cp ${TXDIR}/translations/${TXPROJECT}.${RESOURCE}/ja.po ${RESOURCE}/ja.po
 done
 
 git add .
 git commit -m "Transifexと同期"
-git push origin master
\ No newline at end of file
+git push origin master