1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-25 02:29:32 +02:00

[Helper] Fix for numbers in compose project name

This commit is contained in:
andryyy 2020-03-29 10:45:27 +02:00
parent afd5aab918
commit a71d991c12
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -65,7 +65,7 @@ if [[ -z ${COMPOSE_PROJECT_NAME} ]]; then
exit 1
else
echo "Found project name ${COMPOSE_PROJECT_NAME}"
CMPS_PRJ=$(echo ${COMPOSE_PROJECT_NAME} | tr -cd "[A-Za-z-_]")
CMPS_PRJ=$(echo ${COMPOSE_PROJECT_NAME} | tr -cd "[0-9A-Za-z-_]")
fi
function backup() {