Skip to content

Commit 9439ea3

Browse files
committed
Small fix to run-examples script.
1 parent 96cea1f commit 9439ea3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/run-example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ else
3434
fi
3535

3636
if [ -f "$FWDIR/RELEASE" ]; then
37-
export SPARK_EXAMPLES_JAR=`ls "$FWDIR"/lib/spark-examples-*hadoop*.jar`
38-
elif [ -e "$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/spark-examples-*hadoop*.jar ]; then
39-
export SPARK_EXAMPLES_JAR=`ls "$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/spark-examples-*hadoop*.jar`
37+
export SPARK_EXAMPLES_JAR=`ls "$FWDIR"/lib/spark-examples*hadoop*.jar`
38+
elif [ -e "$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/spark-examples*hadoop*.jar ]; then
39+
export SPARK_EXAMPLES_JAR=`ls "$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/spark-examples*hadoop*.jar`
4040
fi
4141

4242
if [[ -z $SPARK_EXAMPLES_JAR ]]; then

0 commit comments

Comments
 (0)