Commit 3302d106 authored by Marco Perronet's avatar Marco Perronet
Browse files

Add check for exit status

parent 2aa9c1dd
......@@ -14,12 +14,24 @@ CUSTOM_PATH=$(pwd)/build_output
cd libtraceevent
INSTALL_PATH="$CUSTOM_PATH" ../trace-cmd/make-trace-cmd.sh install
if (("$?" != 0)); then
echo "Build error in libtraceevent."
exit 1
fi
cd ../libtracefs
INSTALL_PATH="$CUSTOM_PATH" ../trace-cmd/make-trace-cmd.sh install
if (("$?" != 0)); then
echo "Build error in libtracefs."
exit 1
fi
cd ../trace-cmd
INSTALL_PATH="$CUSTOM_PATH" ./make-trace-cmd.sh install_libs
if (("$?" != 0)); then
echo "Build error in libtracecmd."
exit 1
fi
cd ..
make -C libtraceevent clean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment