File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
linux/conf/buildkite-agent/hooks
windows/conf/buildkite-agent/hooks Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
set -eu -o pipefail
4
4
5
5
# clean up our temporary docker config
6
- if [[ -n " ${BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY:- } " ]]; then
6
+ if [[ -n " ${BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY:- } " && -d " $BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY " ]]; then
7
7
rmdir " $BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY "
8
8
fi
9
9
Original file line number Diff line number Diff line change 3
3
set -eu -o pipefail
4
4
5
5
# clean up our temporary docker config
6
- if [[ -n " ${BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY:- } " ]]; then
6
+ if [[ -n " ${BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY:- } " && -d " $BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY " ]]; then
7
7
rmdir " $BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY "
8
8
fi
9
9
You can’t perform that action at this time.
0 commit comments