Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/15659#discussion_r87677806
--- Diff: bin/beeline ---
@@ -25,7 +25,7 @@ set -o posix
# Figure out if SPARK_HOME is set
if [ -z "${SPARK_HOME}" ]; then
- export SPARK_HOME="$(cd "`dirname "$0"`"/..; pwd)"
+ source `dirname $0`/find-spark-home
--- End diff --
```
In bin/beeline line 28:
source `dirname $0`/find-spark-home
^-- SC1090: Can't follow non-constant source. Use a directive to specify
location.
^-- SC2046: Quote this to prevent word splitting.
^-- SC2006: Use $(..) instead of legacy `..`.
^-- SC2086: Double quote to prevent globbing and word
splitting.
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]