From 01f36d02ce4b4a62fc883e66dd173de77a5ac209 Mon Sep 17 00:00:00 2001 From: asantamaria <asantamaria@iri.upc.edu> Date: Tue, 18 Dec 2018 12:31:24 +0100 Subject: [PATCH] indent wolf_create.sh --- wolf_scripts/wolf_create.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/wolf_scripts/wolf_create.sh b/wolf_scripts/wolf_create.sh index 507154941..e5f4184f6 100755 --- a/wolf_scripts/wolf_create.sh +++ b/wolf_scripts/wolf_create.sh @@ -33,10 +33,10 @@ echo "- Generating CPP and H files." BASE_H_PATH=$(getFilePath $BASE.h) if [ -z "$BASE_H_PATH" ] then - echo "" - echo "${RED} [ERROR]: Cannot find header file for base class ${BASE}.${NC}" - echo "" - exit + echo "" + echo "${RED} [ERROR]: Cannot find header file for base class ${BASE}.${NC}" + echo "" + exit fi # Create Header and CPP files @@ -56,10 +56,10 @@ echo "- Modifying CMakeLists.txt to include CPP and H files." DONE=$(updateCMakeLists) if [ -z "$DONE" ] then - echo "${YELLOW} \--x [WARN]: Not necessary. File entries already existing in CMakeLists.txt.${NC}" + echo "${YELLOW} \--x [WARN]: Not necessary. File entries already existing in CMakeLists.txt.${NC}" else - echo "${GREEN} \--> Updated ${DONE} file.${NC}" - echo "${YELLOW} \--> [WARN] Consider adding conditional clues [IF/ELSE] in the CMakeLists.txt if you use external dependencies, hence avoiding compilation if you don't have them installed${NC}" + echo "${GREEN} \--> Updated ${DONE} file.${NC}" + echo "${YELLOW} \--> [WARN] Consider adding conditional clues [IF/ELSE] in the CMakeLists.txt if you use external dependencies, hence avoiding compilation if you don't have them installed${NC}" fi # ===== Create gtest ===== @@ -80,10 +80,10 @@ echo "- Modifying CMakeLists.txt to include gtest files." DONE=$(updateCMakeListsGTest) if [ -z "$DONE" ] then - echo "${YELLOW} \--x [WARN]: Not necessary. gtest file entry already existing in CMakeLists.txt.${NC}" + echo "${YELLOW} \--x [WARN]: Not necessary. gtest file entry already existing in CMakeLists.txt.${NC}" else - echo "${GREEN} \--> Updated ${DONE} file.${NC}" - echo "${YELLOW} \--> [WARN] Consider adding conditional clues [IF/ELSE] in the CMakeLists.txt if you use external dependencies, hence avoiding compilation if you don't have them installed${NC}" + echo "${GREEN} \--> Updated ${DONE} file.${NC}" + echo "${YELLOW} \--> [WARN] Consider adding conditional clues [IF/ELSE] in the CMakeLists.txt if you use external dependencies, hence avoiding compilation if you don't have them installed${NC}" fi #============================================ -- GitLab