From dd97b9651e78b45ffdfc05d81c6d6772339f10ff Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 12 Jun 2019 22:46:29 +0900 Subject: [PATCH] Fix btcpay-env --- btcpay-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index 9116650..3a1af8a 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -229,7 +229,7 @@ export BTCPAY_ENV_FILE=\"$BTCPAY_ENV_FILE\" export BTCPAY_HOST_SSHKEYFILE=\"$BTCPAY_HOST_SSHKEYFILE\" if cat \"\$BTCPAY_ENV_FILE\" &> /dev/null; then while IFS= read -r line; do - export \"\$line\" + ! [[ \"\$line\" == \"#\"* ]] && [[ \"\$line\" == *\"=\"* ]] && export \"\$line\" done < \"\$BTCPAY_ENV_FILE\" fi " > /etc/profile.d/btcpay-env.sh