Skip to content

Commit

Permalink
Merge pull request #50 from pj8/fix/json-syntax-on-create-start
Browse files Browse the repository at this point in the history
Fix json syntax on create-start
  • Loading branch information
yuki777 authored Apr 30, 2023
2 parents e848a57 + e1eed88 commit 5077b5c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.2.8
v1.2.9
17 changes: 15 additions & 2 deletions mysql/create-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,20 @@ currentDir="$(
pwd -P
)"
cd $currentDir
./create.sh -f "$format" $1 $2 $3
createOutput=$(./create.sh -f "$format" $1 $2 $3)

set -eu
./start.sh -f "$format" $1
startOutput=$(./start.sh -f "$format" $1)

# Output
if [ "$format" = "json" ]; then
echo "["
echo "$createOutput"
echo ","
echo "$startOutput"
echo "]"
else
echo "$createOutput"
echo "$startOutput"
fi

0 comments on commit 5077b5c

Please sign in to comment.