From: Rudolf Polzer Date: Fri, 17 Dec 2010 09:20:40 +0000 (+0100) Subject: do not truncate dds files :( X-Git-Tag: xonotic-v0.1.0preview~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a780c8749a1364dbd6151e61fbe1a53e21ec5c56;p=xonotic%2Fxonotic.git do not truncate dds files :( --- diff --git a/misc/tools/compress-texture b/misc/tools/compress-texture index efacb863..1c488b09 100755 --- a/misc/tools/compress-texture +++ b/misc/tools/compress-texture @@ -88,6 +88,6 @@ esac if [ -n "$fourcchack" ]; then # use dd to hack in the right FOURCC - echo -n "$fourcchack" | dd of="$dst" bs=1 count=4 seek=84 + echo -n "$fourcchack" | dd of="$dst" bs=1 count=4 seek=84 conv=notrunc rm -rf "$fourcchack_dir" fi