Commit 9f29041a authored by donghuixu's avatar donghuixu

change shell function format

parent 8c8cf882
......@@ -11,8 +11,7 @@ if [ -z "$CC" ]; then
exit 1
fi
function runcmd()
{
runcmd(){
eval $@
[[ $? != 0 ]] && {
exit 1
......
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