Skip to content

Commit

Permalink
fix control build
Browse files Browse the repository at this point in the history
Signed-off-by: sdvdxl杜龙少 <[email protected]>
  • Loading branch information
sdvdxl committed Aug 27, 2018
1 parent 406ad11 commit 7e3b1d1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions control
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ cd $WORKSPACE

mkdir -p var

module=message
app=falcon-$module
module=falcon-message
app=$module
conf=cfg.json
pidfile=var/app.pid
logfile=var/app.log
Expand Down Expand Up @@ -80,8 +80,7 @@ function build() {
if [ $? -ne 0 ]; then
exit $?
fi
mv $module $app
./$app -v
echo 'build success'
}

function pack() {
Expand Down Expand Up @@ -124,4 +123,4 @@ elif [ "$1" == "packbin" ];then
packbin
else
help
fi
fi

0 comments on commit 7e3b1d1

Please sign in to comment.