cached converter: PROPERLY decide what to DDS-ify
authorRudolf Polzer <divVerent@alientrap.org>
Thu, 5 Aug 2010 19:51:18 +0000 (21:51 +0200)
committerRudolf Polzer <divVerent@alientrap.org>
Thu, 5 Aug 2010 19:51:18 +0000 (21:51 +0200)
misc/tools/cached-converter.sh

index c309f92aa77df1fbd80946728cad995631135c07..df8191159710bfab79edf3fce09c956ff23fd455 100755 (executable)
@@ -172,9 +172,9 @@ for F in "$@"; do
        will_jpeg=$do_jpeg
        will_dds=$do_dds
        case "$F" in
-               textures/*) ;;
-               models/*) ;;
-               maps/*/*) ;;
+               ./textures/*) ;;
+               ./models/*) ;;
+               ./maps/*/*) ;;
                *)
                        # we can't DDS compress the 2D textures, sorry
                        # but JPEG is still fine