Skip to content

Commit d3e5255

Browse files
authored
Merge pull request #13956 from NHZlX/fix_demo_ci_trt
demo ci error on manylinux
2 parents 8837669 + 11f189b commit d3e5255

File tree

1 file changed

+1
-1
lines changed
  • paddle/fluid/inference/api/demo_ci

1 file changed

+1
-1
lines changed

paddle/fluid/inference/api/demo_ci/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ else
2121
fi
2222

2323
USE_TENSORRT=OFF
24-
if [ [-d"$TENSORRT_INCLUDE_DIR"] -a [-d"$TENSORRT_LIB_DIR"] ]; then
24+
if [ -d "$TENSORRT_INCLUDE_DIR" -a -d "$TENSORRT_LIB_DIR" ]; then
2525
USE_TENSORRT=ON
2626
fi
2727

0 commit comments

Comments
 (0)