You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by wi...@apache.org on 2020/08/18 09:52:32 UTC
[incubator-streampipes-installer] branch new_installer updated:
[STREAMPIPES-196] use absolute path to env file
This is an automated email from the ASF dual-hosted git repository.
wiener pushed a commit to branch new_installer
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-installer.git
The following commit(s) were added to refs/heads/new_installer by this push:
new 1f54976 [STREAMPIPES-196] use absolute path to env file
1f54976 is described below
commit 1f5497654c6807c22809c78cacab6c7b5f5929d9
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Tue Aug 18 11:52:18 2020 +0200
[STREAMPIPES-196] use absolute path to env file
---
cli/bin/common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cli/bin/common b/cli/bin/common
index 9742157..a750679 100644
--- a/cli/bin/common
+++ b/cli/bin/common
@@ -100,7 +100,7 @@ get_curr_environment() {
load_env_file() {
if [ -f $STREAMPIPES_WORKDIR/.env ]; then
# Load Environment Variables
- export $(cat .env | grep -v '#' | awk '/=/ {print $1}')
+ export $(cat $STREAMPIPES_WORKDIR/.env | grep -v '#' | awk '/=/ {print $1}')
fi
}