Check
compile_check.sh:
source ./compile_liboath.sh # Import the compile_liboath.sh script.
source ./compile_zookeeper.sh # Import the compile_zookeeper.sh script.
source ./compile_client.sh # Import the compile_client.sh script.
source ./compile_server.sh # Import the compile_server.sh script.
set "-e"
function main()
{
cd /home
compile_liboath_check # Check liboath.
compile_zookeeper_check # Check ZooKeeper.
compile_client_check # Check client software.
compile_server_check # Check server software.
}
main
Perform the compilation check.
sh compile_check.sh
Parent topic: Usage Example