Commit fb988793 authored by illsilin's avatar illsilin
Browse files

fix script syntax

parent 26887d36
......@@ -232,8 +232,8 @@ def cmake_build(Map conf=[:]){
set -e
../script/sccache_wrapper.sh --enforce_redis
)
error_code=$?
if [ $error_code -ne 0 ]; then
error_code=\$?
if [ \$error_code -ne 0 ]; then
echo "could not connect to the redis server. using sccache locally."
../script/sccache_wrapper.sh
fi
......
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