You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/10/15 12:46:48 UTC

[GitHub] chetanmeh closed pull request #4068: Change config location to work with non root user

chetanmeh closed pull request #4068: Change config location to work with non root user
URL: https://github.com/apache/incubator-openwhisk/pull/4068
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/common/scala/transformEnvironment.sh b/common/scala/transformEnvironment.sh
index 6efc127ddf..7dfb6edee4 100755
--- a/common/scala/transformEnvironment.sh
+++ b/common/scala/transformEnvironment.sh
@@ -42,7 +42,7 @@ fi
 
 if [ -n "$config" ]
 then
-    location="/config.conf"
+    location="$HOME/config.conf"
     printf "%s" "$config" > "$location"
     props+=("-Dconfig.file='$location'")
 fi


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services