blob: 0cf76a0af6e6aad712c4a3e840ff0c98f8e6519d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
dir="$(dirname "$0")/../mstools"
(cd "$dir"; ./download-mstools)
arch="$(uname -m)"
if test "$arch" == i386 || test "$arch" == i486 || test "$arch" == i586 || test "$arch" == i686 || test "$arch" == x86_64; then
emu="wine"
else
emu="qemu-i386 wine"
fi
exe="$dir/fxc.exe"
if test "$#" == 0 || test "$1" == "--help"; then
exec $emu "$exe" "/?"
else
exec $emu "$exe" "$@"
fi
|