Skip to content

Commit 31b53f5

Browse files
committed
fix: tests
1 parent ca546cc commit 31b53f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

conda-recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ requirements:
1616
test:
1717
commands:
1818
- export ICD_FN=${CONDA_PREFIX}/etc/OpenCL/vendors/intel-ocl-gpu.icd
19-
- test -h ${ICD_FN}
20-
- test -e "$(readlink ${ICD_FN})"
19+
- if [ -d /etc/OpenCL/vendors ]; then test -h "${ICD_FN}"; fi
20+
- if [ -L "${ICD_FN}" ]; then test -e "$(readlink "${ICD_FN}")"; fi
2121

2222
about:
2323
home: https://github.com/IntelPython/{{ name|lower }}-feedstock

0 commit comments

Comments
 (0)