From 32072d31b5f07919bd66dbe691eb237eb9372a51 Mon Sep 17 00:00:00 2001 From: nhzlx Date: Wed, 17 Oct 2018 12:01:24 +0000 Subject: [PATCH] fix demo ci error on manylinux --- paddle/fluid/inference/api/demo_ci/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/inference/api/demo_ci/run.sh b/paddle/fluid/inference/api/demo_ci/run.sh index 65c95f0834a..1e51e372191 100755 --- a/paddle/fluid/inference/api/demo_ci/run.sh +++ b/paddle/fluid/inference/api/demo_ci/run.sh @@ -20,7 +20,7 @@ else fi USE_TENSORRT=OFF -if [ [-d"$TENSORRT_INCLUDE_DIR"] -a [-d"$TENSORRT_LIB_DIR"] ]; then +if [ -d "$TENSORRT_INCLUDE_DIR" -a -d "$TENSORRT_LIB_DIR" ]; then USE_TENSORRT=ON fi -- GitLab