File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -193,12 +193,14 @@ cp -r "$KYUUBI_HOME/kyuubi-assembly/target/scala-$SCALA_VERSION/jars/" "$DISTDIR
193193cp " $KYUUBI_HOME " /kyuubi-hive-beeline/target/* .jar " $DISTDIR /beeline-jars/"
194194
195195# Share the jars between server and beeline to reduce binary size
196+ cd $DISTDIR /beeline-jars
196197for jar in $( ls " $DISTDIR /jars/" ) ; do
197198 if [[ -f " $DISTDIR /beeline-jars/$jar " ]]; then
198199 rm " $DISTDIR /beeline-jars/$jar "
199- ln -sn " $DISTDIR /jars/$jar " " $DISTDIR /beeline-jars/$jar "
200+ ln -sn " .. /jars/$jar " " $DISTDIR /beeline-jars/$jar "
200201 fi
201202done
203+ cd -
202204
203205# Copy spark engines
204206cp " $KYUUBI_HOME /externals/kyuubi-spark-sql-engine/target/kyuubi-spark-sql-engine_${SCALA_VERSION} -${VERSION} .jar" " $DISTDIR /externals/engines/spark"
You can’t perform that action at this time.
0 commit comments