Skip to content

Commit 46a2b0c

Browse files
committed
use find to check glob
1 parent bf894ff commit 46a2b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tasks/macros.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ env:
187187
run: |
188188
# check if completion actually expands to wheel files
189189
# to prevent empty dirs from failing silently
190-
if ! compgen -G "{{ pattern }}" > /dev/null; then
190+
if ! test -n "$(find . -wholename '{{ pattern }}' -print -quit)"; then
191191
echo "No wheel files found!"
192192
exit 1
193193
fi

0 commit comments

Comments
 (0)