From 9f6ef6dfdda5942eb02129668ace4d1907cbf54b Mon Sep 17 00:00:00 2001 From: taoxiangdong Date: Tue, 20 Oct 2020 15:13:15 +0800 Subject: [PATCH] update build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a07d6b08..d3b7f461 100644 --- a/build.sh +++ b/build.sh @@ -120,7 +120,7 @@ build_graphengine() CMAKE_ARGS="${CMAKE_ARGS} -DENABLE_OPEN_SRC=True -DCMAKE_INSTALL_PREFIX=${OUTPUT_PATH}" echo "${CMAKE_ARGS}" cmake ${CMAKE_ARGS} .. - if [0 -ne $?] + if [ $? -ne 0 ] then echo "execute command: cmake ${CMAKE_ARGS} .. failed." return 1