cached converter: PROPERLY decide what to DDS-ify
[xonotic/xonotic.git] / 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