From c23d7417a8ded5ba601431c4a933f12266a6c57d Mon Sep 17 00:00:00 2001 From: antao Date: Fri, 16 Nov 2018 18:25:41 +0800 Subject: [PATCH] Modify some comments --- build.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/build.sh b/build.sh index 9c8a2166..7dd600c1 100755 --- a/build.sh +++ b/build.sh @@ -3,20 +3,20 @@ #building drogon function build_drogon() { - #update the submodule and initialize + #Update the submodule and initialize git submodule update --init - #saving current directory + #Saving current directory current_dir="${PWD}" - #the folder we will build + #The folder we will build build_dir='./build' if [ -d $build_dir ]; then echo "Deleted folder: ${build_dir}" rm -rf $build_dir fi - #creating building folder + #Creating building folder echo "Created building folder: ${build_dir}" mkdir $build_dir @@ -26,24 +26,24 @@ function build_drogon() { echo "Start building drogon ..." cmake .. - #errors exit + #If errors then exit if [ "$?" != "0" ]; then exit fi make - #errors exit + #If errors then exit if [ "$?" != "0" ]; then exit fi - echo "Installing header files ..." + echo "Installing ..." sudo make install - #reback current directory + #Reback current directory cd $current_dir - #ok! + #Ok! } build_drogon