From 0a411ab6a705a44e8f55d27cfdbc1798719b8933 Mon Sep 17 00:00:00 2001 From: N2614 Date: Thu, 30 May 2013 01:44:10 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=93=E3=83=AB=E3=83=89=E3=82=B9=E3=82=AF?= =?UTF-8?q?=E3=83=AA=E3=83=97=E3=83=88=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@751 385bec56-5757-e545-9c3a-d8741f4650f1 --- trunk/ConsoleDataMigration/documents/Readme.txt | 2 +- trunk/ConsoleDataMigration/sources/build.sh | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/trunk/ConsoleDataMigration/documents/Readme.txt b/trunk/ConsoleDataMigration/documents/Readme.txt index 834019c..33de793 100644 --- a/trunk/ConsoleDataMigration/documents/Readme.txt +++ b/trunk/ConsoleDataMigration/documents/Readme.txt @@ -12,7 +12,7 @@ QR リリース用ビルドでは開発機・量産機でAES鍵を変えるため、 量産機用ビルドの場合 -./build.sh RELEASE +./build.sh PROD でビルドすること。 diff --git a/trunk/ConsoleDataMigration/sources/build.sh b/trunk/ConsoleDataMigration/sources/build.sh index 9d489b3..05df44b 100755 --- a/trunk/ConsoleDataMigration/sources/build.sh +++ b/trunk/ConsoleDataMigration/sources/build.sh @@ -6,7 +6,7 @@ # # 1. common/version.h を変更する # 2. 開発実機用ビルドは build.sh UNFIXEDKEY -# 製品実機用ビルドは build.sh RELEASE +# 製品実機用ビルドは build.sh PROD set -u set -e @@ -21,12 +21,12 @@ function getVersion } # フラグ判定 -releaseBuild=false; +prodBuild=false; unfixedKeyBuild=false for arg in $@ do - if [ "$arg" = 'RELEASE' ]; then - releaseBuild=true + if [ "$arg" = 'PROD' ]; then + prodBuild=true fi if [ "$arg" = 'UNFIXEDKEY' ]; then @@ -35,7 +35,7 @@ do done OPTION="" -if [ $releaseBuild == "true" ] ; then +if [ $prodBuild == "true" ] ; then getVersion BUILD_TYPE=release,development OPTION="PROD_BUILD=true $VERSION_STR" @@ -66,7 +66,7 @@ else fi #リリース用ビルドはツールのみ -if [ $releaseBuild ] || [ $unfixedKeyBuild ] ; then +if [ $prodBuild ] || [ $unfixedKeyBuild ] ; then exit fi