You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author: Nick Lanham <[email protected]>
Closesapache#264 from nicklan/make-distribution-fixes and squashes the following commits:
172b981 [Nick Lanham] fix path for jar, make sed actually work on OSX
#osx sed wants an empty argument to -i option of sed
145
-
TACHYON_SED="sed -i ''"
144
+
#need to run sed differently on osx
145
+
nl=$'\n';sed -i "" -e "s|export TACHYON_JAR=\$TACHYON_HOME/target/\(.*\)|# This is set for spark's make-distribution\\$nl export TACHYON_JAR=\$TACHYON_HOME/../jars/\1|""$DISTDIR/tachyon/libexec/tachyon-config.sh"
146
146
else
147
-
TACHYON_SED="sed -i"
147
+
sed -i"s|export TACHYON_JAR=\$TACHYON_HOME/target/\(.*\)|# This is set for spark's make-distribution\n export TACHYON_JAR=\$TACHYON_HOME/../jars/\1|""$DISTDIR/tachyon/libexec/tachyon-config.sh"
148
148
fi
149
-
$TACHYON_SED -e "s|export TACHYON_JAR=\$TACHYON_HOME/target/\(.*\)|# This is set for spark's make-distribution\n export TACHYON_JAR=\$TACHYON_HOME/../../jars/\1|""$DISTDIR/tachyon/libexec/tachyon-config.sh"
0 commit comments