set -e
cd ..
-git clean -xdf
+make clean || true
sh autogen.sh
./configure --prefix="`pwd`/tests" CXXFLAGS="-O3"
make
{
# downloads a texture from Xonotic
if ! [ -f "$2" ]; then
- wget -qO- "http://git.xonotic.org/?p=xonotic/xonotic-maps.pk3dir.git;a=blob;f=$1" | convert - -geometry 512x512 "$2"
+ wget -O- "http://git.xonotic.org/?p=xonotic/xonotic-maps.pk3dir.git;a=blob_plain;f=$1" | convert "${1##*.}":- -geometry 512x512 "$2"
fi
}
# floor_tread01: GPLv2+
-xon textures/exx/floor/floor_tread01.tga floor-tread01.tga
+xon textures/exx/floor/floor_tread01.tga floor_tread01.tga
# floor_tread01_norm: GPLv2+
-xon textures/exx/floor/floor_tread01_norm.tga floor-tread01_norm.tga
+xon textures/exx/floor/floor_tread01_norm.tga floor_tread01_norm.tga
# base_concrete1a: GPLv2+
xon textures/trak4x/base/base_concrete1a.tga base_concrete1a.tga
# disabled: GPLv2+
xon env/distant_sunset/distant_sunset_rt.jpg sunset.tga
# amelia: no license
if ! [ -f "amelia.tga" ]; then
- wget -qO- "http://www.godoon.com/gallery/media/slayers/amelia-wil-tesla-saillune/49212997-d81e-11df-8228-a8bfc396a36f.jpg" | convert JPG:- amelia.tga
+ wget -O- "http://www.godoon.com/gallery/media/slayers/amelia-wil-tesla-saillune/49212997-d81e-11df-8228-a8bfc396a36f.jpg" | convert JPG:- amelia.tga
fi