From fe02d20d3f44d1dba2e5490d2349c2afc4534da5 Mon Sep 17 00:00:00 2001 From: Josee9988 Date: Thu, 8 Jul 2021 13:44:15 +0200 Subject: [PATCH] "some fixes" --- SETUP_TEMPLATE.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SETUP_TEMPLATE.sh b/SETUP_TEMPLATE.sh index 8180472..6e03f74 100644 --- a/SETUP_TEMPLATE.sh +++ b/SETUP_TEMPLATE.sh @@ -27,8 +27,8 @@ NC='\033[0m' # No Color UPurple='\033[4;35m' BBLUE='\033[1;34m' GREEN='\033[1;32m' -FILE_FUNCTION_HELPERS=bin/FUNCTION_HELPERS.sh OMIT_STR="--omit-commit-and-confirmation" +FILE_FUNCTION_HELPERS=bin/FUNCTION_HELPERS.sh if [ ! -f "$FILE_FUNCTION_HELPERS" ]; then # check if the function helpers file is not found echo -e "${RED}Can not find ${FILE_FUNCTION_HELPERS}" @@ -65,7 +65,7 @@ fi echo -e "Thanks for using ${GREEN}Josee9988/project-template${NC}" echo -e "Read carefully all the documentation before you continue executing this script: ${UPurple}https://github.com/Josee9988/project-template${NC}\n" -if [ ! $4 = "$OMIT_STR" ]; then # if the project's type has been manually specified +if [ ! "$4" = "$OMIT_STR" ]; then # if the project's type has been manually specified read -p "Enter $(echo -e "$BBLUE""what your project is""$NC") (program/extension/API/web/CLI tool/backend/frontend/scrapper/automation tool/etc): " PROJECT_TYPE read -p "Is this data correct: username \"$(echo -e "$GREEN""$NEW_USERNAME""$NC")\", email: \"$(echo -e "$GREEN""$NEW_EMAIL""$NC")\", project name: \"$(echo -e "$GREEN""$PROJECT_NAME""$NC")\", of type: \"$(echo -e "$GREEN""$PROJECT_TYPE""$NC")\" (y/n)? " choice else