From c9189a12d1af77d81e0c463d6696828c0248fba3 Mon Sep 17 00:00:00 2001 From: Karan Sharma Date: Wed, 15 Dec 2021 14:44:00 +0530 Subject: [PATCH] fix(install-prod.sh): Make `tr` work with macOS Fixes https://github.com/knadh/listmonk/issues/624 Source https://unix.stackexchange.com/questions/230673/how-to-generate-a-random-string#comment393964_230684 --- install-prod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-prod.sh b/install-prod.sh index 0ff7437..0a37dae 100644 --- a/install-prod.sh +++ b/install-prod.sh @@ -77,7 +77,7 @@ is_running() { } generate_password(){ - echo $(tr -dc A-Za-z0-9