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

    https://github.com/apache/spark/pull/1185#discussion_r14100995
  
    --- Diff: make-distribution.sh ---
    @@ -85,8 +85,12 @@ while (( "$#" )); do
     done
     
     if [ -z "$JAVA_HOME" ]; then
    -  echo "Error: JAVA_HOME is not set, cannot proceed."
    -  exit -1
    +  JAVA_HOME=$(rpm -E %java_home 2>/dev/null)
    --- End diff --
    
    you are absolutely correct! i've restructured the request and tested by 
giving a bogus name for the rpm command


---
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.
---

Reply via email to