Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 0852063

Browse files
author
Antonios Papadakis
committed
Fix Various Shellscript Issue
macOS
1 parent faa6335 commit 0852063

File tree

36 files changed

+55
-55
lines changed

36 files changed

+55
-55
lines changed

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.2/startLAMP.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function SQLSetup() {
1212
echo -e "${YELLOW}The path of the MySQL file folder cannot be empty. Please choose a folder.${NC}"
1313
SQLSetup
1414
elif [ "$ISMYSQLFOLDERPRESENT" = 1 ]; then
15-
echo -e "$MYSQLFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$MYSQLFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
SQLSetup
1717
fi
1818
}
@@ -24,7 +24,7 @@ function PHPSetup() {
2424
echo -e "${YELLOW}The path of the PHP website files folder cannot be empty. Please choose a folder.${NC}"
2525
PHPSetup
2626
elif [ "$ISAPACHEFOLDERPRESENT" = 1 ]; then
27-
echo -e "$APACHEFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
27+
echo -e "$APACHEFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
2828
PHPSetup
2929
fi
3030
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.2/startMySQL.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function SQLSetup() {
1212
echo -e "${YELLOW}The path of the MySQL file folder cannot be empty. Please choose a folder.${NC}"
1313
SQLSetup
1414
elif [ "$ISMYSQLFOLDERPRESENT" = 1 ]; then
15-
echo -e "$MYSQLFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$MYSQLFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
SQLSetup
1717
fi
1818
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.2/startPHP.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function PHPSetup() {
1212
echo -e "${YELLOW}The path of the PHP website files folder cannot be empty. Please choose a folder.${NC}"
1313
PHPSetup
1414
elif [ "$ISAPACHEFOLDERPRESENT" = 1 ]; then
15-
echo -e "$APACHEFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$APACHEFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
PHPSetup
1717
fi
1818
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.3/startLAMP.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function SQLSetup() {
1212
echo -e "${YELLOW}The path of the MySQL file folder cannot be empty. Please choose a folder.${NC}"
1313
SQLSetup
1414
elif [ "$ISMYSQLFOLDERPRESENT" = 1 ]; then
15-
echo -e "$MYSQLFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$MYSQLFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
SQLSetup
1717
fi
1818
}
@@ -24,7 +24,7 @@ function PHPSetup() {
2424
echo -e "${YELLOW}The path of the PHP website files folder cannot be empty. Please choose a folder.${NC}"
2525
PHPSetup
2626
elif [ "$ISAPACHEFOLDERPRESENT" = 1 ]; then
27-
echo -e "$APACHEFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
27+
echo -e "$APACHEFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
2828
PHPSetup
2929
fi
3030
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.3/startMySQL.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function SQLSetup() {
1212
echo -e "${YELLOW}The path of the MySQL file folder cannot be empty. Please choose a folder.${NC}"
1313
SQLSetup
1414
elif [ "$ISMYSQLFOLDERPRESENT" = 1 ]; then
15-
echo -e "$MYSQLFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$MYSQLFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
SQLSetup
1717
fi
1818
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.3/startPHP.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function PHPSetup() {
1212
echo -e "${YELLOW}The path of the PHP website files folder cannot be empty. Please choose a folder.${NC}"
1313
PHPSetup
1414
elif [ "$ISAPACHEFOLDERPRESENT" = 1 ]; then
15-
echo -e "$APACHEFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$APACHEFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
PHPSetup
1717
fi
1818
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.4/startLAMP.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function SQLSetup() {
1212
echo -e "${YELLOW}The path of the MySQL file folder cannot be empty. Please choose a folder.${NC}"
1313
SQLSetup
1414
elif [ "$ISMYSQLFOLDERPRESENT" = 1 ]; then
15-
echo -e "$MYSQLFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$MYSQLFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
SQLSetup
1717
fi
1818
}
@@ -24,7 +24,7 @@ function PHPSetup() {
2424
echo -e "${YELLOW}The path of the PHP website files folder cannot be empty. Please choose a folder.${NC}"
2525
PHPSetup
2626
elif [ "$ISAPACHEFOLDERPRESENT" = 1 ]; then
27-
echo -e "$APACHEFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
27+
echo -e "$APACHEFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
2828
PHPSetup
2929
fi
3030
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.4/startMySQL.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function SQLSetup() {
1212
echo -e "${YELLOW}The path of the MySQL file folder cannot be empty. Please choose a folder.${NC}"
1313
SQLSetup
1414
elif [ "$ISMYSQLFOLDERPRESENT" = 1 ]; then
15-
echo -e "$MYSQLFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$MYSQLFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
SQLSetup
1717
fi
1818
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-7.4/startPHP.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function PHPSetup() {
1212
echo -e "${YELLOW}The path of the PHP website files folder cannot be empty. Please choose a folder.${NC}"
1313
PHPSetup
1414
elif [ "$ISAPACHEFOLDERPRESENT" = 1 ]; then
15-
echo -e "$APACHEFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$APACHEFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
PHPSetup
1717
fi
1818
}

macos/Docker/dockerFiles/mysql-5.6/php-latest-8.0/startLAMP.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function SQLSetup() {
1212
echo -e "${YELLOW}The path of the MySQL file folder cannot be empty. Please choose a folder.${NC}"
1313
SQLSetup
1414
elif [ "$ISMYSQLFOLDERPRESENT" = 1 ]; then
15-
echo -e "$MYSQLFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
15+
echo -e "$MYSQLFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
1616
SQLSetup
1717
fi
1818
}
@@ -24,7 +24,7 @@ function PHPSetup() {
2424
echo -e "${YELLOW}The path of the PHP website files folder cannot be empty. Please choose a folder.${NC}"
2525
PHPSetup
2626
elif [ "$ISAPACHEFOLDERPRESENT" = 1 ]; then
27-
echo -e "$APACHEFOLDERLOCATION" ${RED}does not exist, please choose another folder.${NC}
27+
echo -e "$APACHEFOLDERLOCATION" "${RED}"does not exist, please choose another folder."${NC}"
2828
PHPSetup
2929
fi
3030
}

0 commit comments

Comments
 (0)