File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,10 +9,8 @@ function build() {
99 cmake \
1010
1111 # Generate binary
12- curl -sSL " https://downloads .mariadb.org/interstitial /mariadb-${STACK_VERSION} /source/mariadb-${STACK_VERSION} .tar.gz" | tar -xz && \
12+ curl -sSL " https://archive .mariadb.org/mariadb-${STACK_VERSION} /source/mariadb-${STACK_VERSION} .tar.gz" | tar -xz && \
1313 cd mariadb-" ${STACK_VERSION} " && \
14- pcre_version=$( < cmake/pcre.cmake grep ' ftp.pcre.org' | awk -F ' pcre2-' ' {print $2}' | awk -F ' .zip' ' {print $1}' )
15- sed -i -e " s|http://ftp.pcre.org/pub/pcre|https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${pcre_version} |g" cmake/pcre.cmake
1614 cmake . -DCMAKE_INSTALL_PREFIX=/opt/drycc/mariadb \
1715 -DMYSQL_DATADIR=/opt/drycc/mariadb/data \
1816 -DWITH_INNOBASE_STORAGE_ENGINE=1 \
@@ -26,7 +24,7 @@ function build() {
2624 -DDEFAULT_CHARSET=utf8 \
2725 -DDEFAULT_COLLATION=utf8_general_ci \
2826 && \
29- make install
27+ make install/strip
3028
3129 mkdir -p " ${PROFILE_DIR} "
3230 cat << EOF > "${PROFILE_DIR} /${STACK_NAME} .sh"
3735}
3836
3937# call build stack
40- build-stack " ${1} "
38+ build-stack " ${1} "
39+
You can’t perform that action at this time.
0 commit comments