Skip to content

Commit 52f2464

Browse files
authored
Update paddle_build.sh
1 parent 3aacadf commit 52f2464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ function cmake_gen() {
112112
if [ "$SYSTEM" == "Darwin" ]; then
113113
WITH_DISTRIBUTE=${WITH_DISTRIBUTE:-ON}
114114
WITH_AVX=${WITH_AVX:-ON}
115-
INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR}
115+
INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR:-~/.cache/inference_demo}
116116
else
117-
INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR=-/root/.cache/inference_demo}
117+
INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR:-/root/.cache/inference_demo}
118118
fi
119119

120120
cat <<EOF

0 commit comments

Comments
 (0)