Skip to content

Commit e725e85

Browse files
rxinconviva-zz
authored andcommitted
Make dev/mima runnable on Mac OS X.
Mac OS X's find is from the BSD variant that doesn't have -printf option. Author: Reynold Xin <[email protected]> Closes apache#1953 from rxin/mima and squashes the following commits: e284afe [Reynold Xin] Make dev/mima runnable on Mac OS X.
1 parent 04821d8 commit e725e85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/mima

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ cd "$FWDIR"
2626

2727
echo -e "q\n" | sbt/sbt oldDeps/update
2828

29-
export SPARK_CLASSPATH=`find lib_managed \( -name '*spark*jar' -a -type f \) -printf "%p:" `
29+
export SPARK_CLASSPATH=`find lib_managed \( -name '*spark*jar' -a -type f \) | tr "\\n" ":"`
30+
echo "SPARK_CLASSPATH=$SPARK_CLASSPATH"
31+
3032
./bin/spark-class org.apache.spark.tools.GenerateMIMAIgnore
3133
echo -e "q\n" | sbt/sbt mima-report-binary-issues | grep -v -e "info.*Resolving"
3234
ret_val=$?

0 commit comments

Comments
 (0)