Pillow/depends/install_extra_test_images.sh
Hugo van Kemenade ed3cd75630
Use 'rmdir' instead of 'rm -r'
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-02-08 10:11:54 +02:00

13 lines
284 B
Bash
Executable File

#!/usr/bin/env bash
# install extra test images
archive=test-images-main
./download-and-extract.sh $archive https://github.com/python-pillow/test-images/archive/main.tar.gz
mv $archive/* ../Tests/images/
# Cleanup old tarball and empty directory
rm $archive.tar.gz
rmdir $archive