Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Commit 1872e50

Browse files
authored
Merge pull request #145 from didi/zh794390558-patch-1
Update install-delta.sh
2 parents 15045e7 + 84bf4ae commit 1872e50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/install/install-delta.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ else
2626
fi
2727

2828
if [ $2 == 'gpu' ];then
29-
TF='tensorflow-gpu=${TF_VER}'
29+
TF="tensorflow-gpu=${TF_VER}"
3030
elif [ $2 == 'cpu' ];then
31-
TF='tensorflow={TF_VER}'
31+
TF="tensorflow=${TF_VER}"
3232
else
3333
echo ${USAGE}
3434
exit 1
@@ -45,9 +45,9 @@ CONDA_ENV=delta-py${PY_VER}-tf${TF_VER}
4545
if conda search ${TF} | grep "No match"; then
4646
echo "Conda: do not have ${TF} for current platform."
4747
if [ $2 == 'gpu' ];then
48-
TF='tensorflow-gpu=${TF_VER}'
48+
TF="tensorflow-gpu=${TF_VER}"
4949
else
50-
TF='tensorflow=${TF_VER}'
50+
TF="tensorflow=${TF_VER}"
5151
fi
5252
echo "Conda: install ${TF} instead."
5353
CONDA_ENV=delta-py${PY_VER}-tf${TF_VER}

0 commit comments

Comments
 (0)