Skip to content

Commit a2d6073

Browse files
authored
skip error when directory already exists (#2379)
1 parent 7ba973c commit a2d6073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/client/petstore/R/test_petstore.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export R_LIBS_USER=$HOME/R
88

99
echo "R lib directory: $R_LIBS_USER"
1010

11-
mkdir $R_LIBS_USER
11+
mkdir $R_LIBS_USER || true
1212

1313
Rscript -e "install.packages('jsonlite', repos='$REPO', lib='$R_LIBS_USER')"
1414
Rscript -e "install.packages('httr', repos='$REPO', lib='$R_LIBS_USER')"

0 commit comments

Comments
 (0)