Skip to content

Commit

Permalink
[PPML] Fix bash expected unary operator (intel-analytics#5653)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzjane authored and ForJadeForest committed Sep 20, 2022
1 parent 60c5c4e commit fbbb383
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ init_instance() {

# enable tmp hostfs
# --conf spark.executorEnv.USING_TMP_HOSTFS=true \
if [ $USING_TMP_HOSTFS == "true" ]; then
if [[ $USING_TMP_HOSTFS == "true" ]]; then
echo "use tmp hostfs"
mkdir ./shuffle
edit_json="$(cat Occlum.json | jq '.mount+=[{"target": "/tmp","type": "hostfs","source": "./shuffle"}]')" && \
Expand Down

0 comments on commit fbbb383

Please sign in to comment.