fix: keep clean-clone release checks portable
This commit is contained in:
@@ -58,6 +58,10 @@ PYCHK
|
||||
}
|
||||
|
||||
if [ "${1:-}" = "--selftest" ]; then
|
||||
if ! python3 -c 'from PIL import Image, ImageDraw' >/dev/null 2>&1; then
|
||||
echo "SELFTEST SKIP: нет необязательной dev-зависимости Pillow"
|
||||
exit 0
|
||||
fi
|
||||
TMP=$(mktemp -d); trap 'rm -rf "$TMP"' EXIT
|
||||
ok=0
|
||||
python3 - "$TMP" <<'PYGEN'
|
||||
|
||||
Reference in New Issue
Block a user