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

    https://github.com/apache/spark/pull/449#discussion_r17530603
  
    --- Diff: bin/run-example ---
    @@ -21,18 +21,25 @@ SCALA_VERSION=2.10
     
     FWDIR="$(cd `dirname $0`/..; pwd)"
     export SPARK_HOME="$FWDIR"
    -EXAMPLES_DIR="$FWDIR"/examples
     
    -if [ -f "$FWDIR/RELEASE" ]; then
    -  export SPARK_EXAMPLES_JAR=`ls "$FWDIR"/lib/spark-examples-*hadoop*.jar`
    -elif [ -e 
"$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/spark-examples-*hadoop*.jar ]; then
    -  export SPARK_EXAMPLES_JAR=`ls 
"$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/spark-examples-*hadoop*.jar`
    -fi
    +. $FWDIR/bin/load-spark-env.sh
    +. $FWDIR/bin/sh-funcs.sh
    --- End diff --
    
    We generally quote string like above as ``` "$FWDIR"/bin/sh-funcs.sh``` and 
so on. 


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