Github user ScrapCodes commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2386#discussion_r17530408
  
    --- Diff: bin/spark-shell ---
    @@ -29,7 +29,7 @@ esac
     set -o posix
     
     ## Global script variables
    -FWDIR="$(cd "`dirname "$0"`"/..; pwd)"
    +FWDIR="$(cd $(dirname $(readlink -f $0))/..; pwd)"
    --- End diff --
    
    You may have to quote these - so that dirs with spaces within their name 
work. Like they do at the moment.
    Above should look like.
    ```FWDIR="$(cd "$(dirname "$(readlink -f "$0")")"/..; pwd)"```



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to