File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,15 +8,16 @@ function build() {
88 generate-stack-path
99 BIN_DIR=" ${DATA_DIR} " /bin
1010 mkdir -p " ${BIN_DIR} "
11- curl -fsSL -o tmp.tar.gz https://github.com/ apache/zookeeper/archive/refs/tags/release- ${STACK_VERSION} .tar.gz
11+ curl -fsSL -o tmp.tar.gz https://dlcdn. apache.org /zookeeper/zookeeper- ${STACK_VERSION} /apache-zookeeper- ${STACK_VERSION} -bin .tar.gz
1212 tar -xzf tmp.tar.gz
13- mv zookeeper-release- " ${STACK_VERSION} " /* " ${DATA_DIR} "
14- rm zookeeper-release- " ${STACK_VERSION} " tmp.tar.gz -rf
13+ mv apache- zookeeper-" ${STACK_VERSION} " -bin /* " ${DATA_DIR} "
14+ rm apache- zookeeper-" ${STACK_VERSION} " -bin tmp.tar.gz -rf
1515
1616 cat << EOF > ${PROFILE_DIR} /${STACK_NAME} .sh
1717export PATH="/opt/drycc/zookeeper/bin:\$ PATH"
1818EOF
1919}
2020
2121# call build stack
22- build-stack " ${1} "
22+ build-stack " ${1} "
23+
You can’t perform that action at this time.
0 commit comments