From 69c73ec5a8fcc06b0225717ea8f8239fcca7ea30 Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Thu, 6 Dec 2018 12:37:27 +0300 Subject: [PATCH] added grep --- appcenter-pre-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appcenter-pre-build.sh b/appcenter-pre-build.sh index ec5a3b1ea..db0e02ff6 100644 --- a/appcenter-pre-build.sh +++ b/appcenter-pre-build.sh @@ -6,7 +6,7 @@ printf "Started script:\n" ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|WEBSOCKET|BACKEND|API|TOKEN|URL/"} printf "Creating an .env file with the following whitelist:\n" printf "%s\n\n" $ENV_WHITELIST -set | egrep -e $ENV_WHITELIST | egrep -v "^_" | egrep -v "WHITELIST" > .env +set | egrep -e $ENV_WHITELIST | egrep -v "^_" | egrep -v "WHITELIST" | egrep -v "USER-DEFINED" > .env printf "\n.env created with contents:\n" cat .env printf "\nEND OF .env\n" \ No newline at end of file