mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-25 21:53:04 +03:00
fix env variable
This commit is contained in:
parent
8395f26ccb
commit
e847346475
@ -54,7 +54,7 @@ cat $GOOGLE_PLIST_FILE
|
||||
printf "Old .env file:\n"
|
||||
cat .env
|
||||
printf "Started script:\n"
|
||||
ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|WEBSOCKET|BACKEND|API|TOKEN|PIN|USER|URL/"}
|
||||
ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|ANALYTICS|WEBSOCKET|BACKEND|API|TOKEN|PIN|USER|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" | egrep -v "USER-DEFINED" > .env
|
||||
|
Loading…
Reference in New Issue
Block a user