Skip to content

Commit

Permalink
Fix shell error
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Nov 21, 2024
1 parent eef98c7 commit bb1a152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/script/build_via_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ then
cmake_args="$@"

# Workaround for file permission error
if [[ -n $CI_BUILD_UID ]]
if [[ -n ${CI_BUILD_UID:-} ]]
then
gosu root chown -R "${CI_BUILD_UID}:${CI_BUILD_GID}" /opt/miniforge/envs
fi
Expand Down

0 comments on commit bb1a152

Please sign in to comment.