mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-27 02:43:38 +02:00
[Helper] Fix for numbers in compose project name
This commit is contained in:
parent
afd5aab918
commit
a71d991c12
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user