We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f182d3 commit 2c64fe2Copy full SHA for 2c64fe2
tests/performance/Makefile
@@ -12,7 +12,8 @@ export ENV_FILE
12
NETWORK_NAME=dashboards_timenet
13
14
# UTILS
15
-get_my_ip := $(shell (hostname --all-ip-addresses || hostname -i) 2>/dev/null | cut --delimiter=" " --fields=1)
+# NOTE: keep short arguments for `cut` so it works in both BusyBox (alpine) AND Ubuntu
16
+get_my_ip := $(shell (hostname --all-ip-addresses || hostname -i) 2>/dev/null | cut -d " " -f 1)
17
18
# Check that given variables are set and all have non-empty values,
19
# die with an error otherwise.
0 commit comments