mirror of
https://github.com/PaiGramTeam/telegram-bot-api-build.git
synced 2024-11-25 17:35:28 +00:00
Fix condition in docker-entrypoint.sh
This commit is contained in:
parent
6609c98025
commit
2d5e9553c8
@ -17,7 +17,7 @@ file_env() {
|
|||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
else
|
else
|
||||||
if [ -n $file_path ]; then
|
if [ -n "$file_path" ] && [ "$file_path" != "" ]; then
|
||||||
if [ -f "$file_path" ]; then
|
if [ -f "$file_path" ]; then
|
||||||
file_content=$(cat "$file_path")
|
file_content=$(cat "$file_path")
|
||||||
export "$var_name=$file_content"
|
export "$var_name=$file_content"
|
||||||
|
Loading…
Reference in New Issue
Block a user