aboutsummaryrefslogtreecommitdiff
path: root/run-example
diff options
context:
space:
mode:
authorShivaram Venkataraman <shivaram@eecs.berkeley.edu>2013-10-15 13:26:40 -0700
committerShivaram Venkataraman <shivaram@eecs.berkeley.edu>2013-10-15 13:26:40 -0700
commit051cd960d9974ca7eb1ad299294cd5137ad1fa95 (patch)
tree71f9a20bedb85c1f53cabc7c46b1c578c3d86891 /run-example
parentc441904bcec27d8cca49d174b18ee67da70dfdff (diff)
parent678dec6680f06c2f2a5969fb608ecfdc69981b93 (diff)
downloadspark-051cd960d9974ca7eb1ad299294cd5137ad1fa95.tar.gz
spark-051cd960d9974ca7eb1ad299294cd5137ad1fa95.tar.bz2
spark-051cd960d9974ca7eb1ad299294cd5137ad1fa95.zip
Merge branch 'master' of https://github.com/apache/incubator-spark into sbt-assembly-deps
Diffstat (limited to 'run-example')
-rwxr-xr-xrun-example8
1 files changed, 4 insertions, 4 deletions
diff --git a/run-example b/run-example
index 24d83ba5cf..08ec717ca5 100755
--- a/run-example
+++ b/run-example
@@ -39,14 +39,14 @@ fi
# to avoid the -sources and -doc packages that are built by publish-local.
EXAMPLES_DIR="$FWDIR"/examples
SPARK_EXAMPLES_JAR=""
-if [ -e "$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/*assembly*[0-9T].jar ]; then
+if [ -e "$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/*assembly*[0-9Tg].jar ]; then
# Use the JAR from the SBT build
- export SPARK_EXAMPLES_JAR=`ls "$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/*assembly*[0-9T].jar`
+ export SPARK_EXAMPLES_JAR=`ls "$EXAMPLES_DIR"/target/scala-$SCALA_VERSION/*assembly*[0-9Tg].jar`
fi
-if [ -e "$EXAMPLES_DIR"/target/spark-examples*[0-9T].jar ]; then
+if [ -e "$EXAMPLES_DIR"/target/spark-examples*[0-9Tg].jar ]; then
# Use the JAR from the Maven build
# TODO: this also needs to become an assembly!
- export SPARK_EXAMPLES_JAR=`ls "$EXAMPLES_DIR"/target/spark-examples*[0-9T].jar`
+ export SPARK_EXAMPLES_JAR=`ls "$EXAMPLES_DIR"/target/spark-examples*[0-9Tg].jar`
fi
if [[ -z $SPARK_EXAMPLES_JAR ]]; then
echo "Failed to find Spark examples assembly in $FWDIR/examples/target" >&2