Can we generalize this a bit? As of now, this script is very 
non-OpenWhisk-dependent. What about:

```bash
if [ -n "$CONFIGFILE_CONTENT" ]
then
    location="/config.conf"
    echo "$CONFIGFILE_CONTENT" > "$location"
    props+=("-Dconfig.file='$location'")
fi
```

Note: I switched from `printf` to `echo`. Any reason to use `printf` here?
Note 2: Please fix the indenting from 3 to 4 spaces.

[ Full content available at: 
https://github.com/apache/incubator-openwhisk/pull/3984 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to