redis_study/deps/update-jemalloc.sh

11 lines
294 B
Bash
Raw Normal View History

2020-09-05 04:01:22 +00:00
#!/bin/bash
VER=$1
2020-09-12 14:41:30 +00:00
## 添加国内备份
URL="https://pan.zeekling.cn/jemalloc/jemalloc-${VER}.tar.bz2"
2020-09-05 04:01:22 +00:00
echo "Downloading $URL"
curl $URL > /tmp/jemalloc.tar.bz2
tar xvjf /tmp/jemalloc.tar.bz2
rm -rf jemalloc
mv jemalloc-${VER} jemalloc
echo "Use git status, add all files and commit changes."