-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from tokudai0000/199-fix-build-error-google-s…
…ervice-info 199 fix build error google service info
- Loading branch information
Showing
5 changed files
with
32 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# スクリプトが置かれているディレクトリを取得 | ||
SCRIPT_DIR=$(cd "$(dirname "$0")"; pwd) | ||
|
||
# スクリプトの親ディレクトリを取得 | ||
PARENT_DIR=$(dirname "$SCRIPT_DIR") | ||
|
||
PLIST_PATH="$PARENT_DIR/univIP/Settings/GoogleService-Info.plist" | ||
TEMPLATE_PLIST_PATH="$PARENT_DIR/univIP/Settings/GoogleService-Info.template.plist" | ||
|
||
|
||
if [ ! -f "$PLIST_PATH" ]; then | ||
cp "$TEMPLATE_PLIST_PATH" "$PLIST_PATH" | ||
echo "GoogleService-Info.plist を作成中です" | ||
else | ||
echo "GoogleService-Info.plist は既に存在します" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters