From: Rudolf Polzer Date: Fri, 15 Jul 2011 08:22:39 +0000 (+0200) Subject: oops, check if we have the file X-Git-Tag: android-x86-6.0-r1~91 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-s2tc.git;a=commitdiff_plain;h=00ee5385d3bc7245f3e81754c47180947bd4c422 oops, check if we have the file --- diff --git a/tests/test.sh b/tests/test.sh index a140a83..22ccf2c 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -172,7 +172,9 @@ html_start xon() { # downloads a texture from Xonotic - wget -qO- "http://git.xonotic.org/?p=xonotic/xonotic-maps.pk3dir.git;a=blob;f=$1" | convert TGA:- -geometry 512x512 "$2" + if ! [ -f "$2" ]; then + wget -qO- "http://git.xonotic.org/?p=xonotic/xonotic-maps.pk3dir.git;a=blob;f=$1" | convert TGA:- -geometry 512x512 "$2" + fi } # floor_tread01: GPLv2+ xon textures/exx/floor/floor_tread01.tga floor-tread01.tga