mirror of
https://github.com/PaiGramTeam/telegram-bot-api-build.git
synced 2024-11-22 06:57:52 +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
|
||||
|
||||
else
|
||||
if [ -n $file_path ]; then
|
||||
if [ -n "$file_path" ] && [ "$file_path" != "" ]; then
|
||||
if [ -f "$file_path" ]; then
|
||||
file_content=$(cat "$file_path")
|
||||
export "$var_name=$file_content"
|
||||
|
Loading…
Reference in New Issue
Block a user