File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
contrib/containers/guix/scripts Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,12 @@ if [[ ! -d "${WORKSPACE_PATH}" || ! "${WORKSPACE_PATH}" = /* || ! -f "${WORKSPAC
99 exit 1
1010fi
1111
12- export SDK_PATH=" ${SDK_PATH:- ${WORKSPACE_PATH} / depends/ SDKs} "
13- export SDK_SRCS=" ${SDK_PATH:- ${WORKSPACE_PATH} / depends/ sdk-sources} "
12+ if [[ -z " ${HOSTS} " || " ${HOSTS} " == * " darwin" * ]]; then
13+ export SDK_PATH=" ${SDK_PATH:- ${WORKSPACE_PATH} / depends/ SDKs} "
14+ export SDK_SRCS=" ${SDK_PATH:- ${WORKSPACE_PATH} / depends/ sdk-sources} "
1415
15- ./contrib/containers/guix/scripts/setup-sdk
16+ ./contrib/containers/guix/scripts/setup-sdk
17+ fi
1618
1719# Add safe.directory option only when WORKSPACE_PATH was specified via cmd-line arguments (happens in CI)
1820if [[ -n " ${1} " ]]; then
You can’t perform that action at this time.
0 commit comments