1 Star 0 Fork 15

zhuangzt / openGauss-tools-sqlines

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.sh 691 Bytes
一键复制 编辑 原始数据 按行查看 历史
胡正超 提交于 2021-12-30 14:53 . update README and build.sh
PRO_NAME=sqlines
function usage()
{
echo " "
echo "BUILD AND REMOVE"
echo " "
echo " install : sh build.sh -i"
echo " uninstall: sh build.sh -m"
echo " "
}
function install()
{
cd sqlines
make clean
make
mv $PRO_NAME ../bin
make clean
cd ..
echo 'Install Sqlines successfully.'
}
function uninstall()
{
if [ -f bin/$PRO_NAME ]; then
cd sqlines
make clean
cd ..
rm bin/$PRO_NAME
echo 'Uninstall Sqlines successfully.'
else
echo 'ERROR: There is no Sqlines.'
fi
}
if [ "$1" = "-i" ] ;then
install
elif [ "$1" = "-m" ] ;then
uninstall
else
usage
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhuangzt/openGauss-tools-sqlines.git
git@gitee.com:zhuangzt/openGauss-tools-sqlines.git
zhuangzt
openGauss-tools-sqlines
openGauss-tools-sqlines
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891