Skip to content

Commit 7219f03

Browse files
pquentingithub-actions[bot]
authored andcommitted
Allow running .buildkite scripts on macOS (#3087)
realpath -s is a GNU extension, but we don't need to care about symlinks here. (cherry picked from commit dd39579)
1 parent 4f96941 commit 7219f03

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.buildkite/functions/imports.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if [[ -z $es_node_name ]]; then
4343

4444
fi
4545

46-
export script_path=$(dirname $(realpath -s $0))
46+
export script_path=$(dirname $(realpath $0))
4747
source $script_path/functions/cleanup.sh
4848
source $script_path/functions/wait-for-container.sh
4949
trap "cleanup_trap ${network_name}" EXIT

.buildkite/run-elasticsearch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# - Moved ELASTIC_PASSWORD and xpack.security.enabled to the base arguments for "Security On by default"
2222
# - Use https only when TEST_SUITE is "platinum", when "free" use http
2323

24-
script_path=$(dirname $(realpath -s $0))
24+
script_path=$(dirname $(realpath $0))
2525
source $script_path/functions/imports.sh
2626
set -euo pipefail
2727

.buildkite/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export TEST_SUITE="${TEST_SUITE:=platinum}"
1010
export PYTHON_VERSION="${PYTHON_VERSION:=3.13}"
1111
export PYTHON_CONNECTION_CLASS="${PYTHON_CONNECTION_CLASS:=urllib3}"
1212

13-
script_path=$(dirname $(realpath -s $0))
13+
script_path=$(dirname $(realpath $0))
1414
source $script_path/functions/imports.sh
1515
set -euo pipefail
1616

0 commit comments

Comments
 (0)