File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ function build() {
1010
1111 # Generate binary
1212 curl -sSL " https://archive.mariadb.org/mariadb-${STACK_VERSION} /source/mariadb-${STACK_VERSION} .tar.gz" | tar -xz && \
13+ echo " running building..."
1314 cd mariadb-" ${STACK_VERSION} " && \
1415 cmake . -DCMAKE_INSTALL_PREFIX=/opt/drycc/mariadb \
1516 -DMYSQL_DATADIR=/opt/drycc/mariadb/data \
@@ -24,13 +25,13 @@ function build() {
2425 -DDEFAULT_CHARSET=utf8 \
2526 -DDEFAULT_COLLATION=utf8_general_ci \
2627 && \
27- make install/strip
28-
28+ make install/strip 2>&1 > /dev/null
29+ echo " build mariadb ok... "
2930 mkdir -p " ${PROFILE_DIR} "
3031 cat << EOF > "${PROFILE_DIR} /${STACK_NAME} .sh"
3132export PATH="/opt/drycc/mariadb/bin:\$ PATH"
3233EOF
33-
34+ echo " generate profile ok... "
3435 cp -rf /opt/drycc/mariadb/* " ${DATA_DIR} "
3536}
3637
You can’t perform that action at this time.
0 commit comments