Skip to content

Commit 8758c05

Browse files
committed
fix(stacks): java PATH error
1 parent 34e8283 commit 8758c05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stacks/java/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function build() {
7373
rm -rf openjdk.tar.gz *jdk-"${STACK_VERSION}"*
7474
mkdir -p "${DATA_DIR}"/env
7575
echo "/opt/drycc/java" > "${DATA_DIR}"/env/JAVA_HOME
76-
cat << EOF > ${PROFILE_DIR}/${STACK_NAME}.sh
76+
cat << EOF >> ${PROFILE_DIR}/${STACK_NAME}.sh
7777
export LD_LIBRARY_PATH="\${JAVA_HOME}/jre/lib/${OS_ARCH}/server:\${LD_LIBRARY_PATH}"
7878
EOF
7979

0 commit comments

Comments
 (0)