From ea563d20a3d3d83a757e6b69e6210b7e751a3b19 Mon Sep 17 00:00:00 2001 From: vamsi Date: Mon, 10 Apr 2023 17:43:19 +0530 Subject: [PATCH] dev: fix setup.sh causing tr Illegal byte sequence --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index da76e64a7..de95db2f8 100755 --- a/setup.sh +++ b/setup.sh @@ -4,4 +4,6 @@ cp ./apiserver/.env.example ./apiserver/.env cp ./apps/app/.env.example ./apps/app/.env echo -e "\nNEXT_PUBLIC_API_BASE_URL=http://$1" >> ./apps/app/.env -echo -e "\nSECRET_KEY=\"$(tr -dc 'a-z0-9!@#$%^&*(-_=+)' < /dev/urandom | head -c50)\"" >> ./apiserver/.env \ No newline at end of file +export LC_ALL=C +export LC_CTYPE=C +echo -e "\nSECRET_KEY=\"$(tr -dc 'a-z0-9!@#$%^&*(-_=+)' < /dev/urandom | head -c50)\"" >> ./apiserver/.env