Skip to content

Commit 65a5ce6

Browse files
committed
Merge pull request wunderio#32 from wunderkraut/latest-quay-images
better safe project name
2 parents 63e0c6e + 5fe20d5 commit 65a5ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wundertools/config.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ if [ -z "${PROJECT}" ]; then
102102
fi
103103

104104
# perform some sanity checks on the project name, to make it safe for docker networks and container names
105-
PROJECT="${PROJECT,,}" # lower case
105+
PROJECT="$(echo "${PROJECT}" | tr '[:upper:]' '[:lower:]' | tr -cd '[:alnum:]')"
106106

107107
#
108108
# DOCKER COMPOSE

0 commit comments

Comments
 (0)