Skip to content

Commit

Permalink
docker_shell: Change cp mode to update
Browse files Browse the repository at this point in the history
Signed-off-by: Eryk Szpotanski <[email protected]>
  • Loading branch information
eszpotanski committed Jul 3, 2024
1 parent 5d953a8 commit 9c3604b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker_shell
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ export WORKSPACE_ORIGIN=$(dirname $(find $WORKSPACE_EXECROOT -maxdepth 1 -type l
# Create out script if one does not exist
if [[ ! -f $WORKSPACE_EXECROOT/bazel-out/k8-fastbuild/bin/out ]]; then
if [[ -d $WORKSPACE_EXTERNAL/bazel-orfs~override ]]; then
cp $WORKSPACE_EXTERNAL/bazel-orfs~override/out_script $WORKSPACE_EXECROOT/bazel-out/k8-fastbuild/bin/out
cp --update $WORKSPACE_EXTERNAL/bazel-orfs~override/out_script $WORKSPACE_EXECROOT/bazel-out/k8-fastbuild/bin/out
elif [[ -f $WORKSPACE_ORIGIN/out_script ]]; then
cp $WORKSPACE_ORIGIN/out_script $WORKSPACE_EXECROOT/bazel-out/k8-fastbuild/bin/out
cp --update $WORKSPACE_ORIGIN/out_script $WORKSPACE_EXECROOT/bazel-out/k8-fastbuild/bin/out
fi
fi
# Create bazel-bin symlink if it does not exist
Expand Down

0 comments on commit 9c3604b

Please sign in to comment.