mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 09:13:33 +03:00
pre build regex fix
This commit is contained in:
parent
bfe6cbd43c
commit
d442b5210d
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Creates an .env from ENV variables for use with react-native-config
|
||||
ENV_WHITELIST=${ENV_WHITELIST:-"."}
|
||||
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
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user