删除
compile_clean.sh:
source ./compile_liboath.sh # 引入compile_liboath.sh脚本
source ./compile_zookeeper.sh # 引入compile_zookeeper.sh脚本
source ./compile_client.sh # 引入compile_client.sh脚本
source ./compile_server.sh # 引入compile_server.sh脚本
set "-e"
function main()
{
cd /home
compile_liboath_clean # 删除liboath
compile_zookeeper_clean # 删除zookeeper
compile_client_clean # 删除client
compile_server_clean # 删除server
}
main
删除编译文件:
sh compile_clean.sh
父主题: 使用示例