fontconfig/test/wrapper-script.sh

14 lines
212 B
Bash
Raw Normal View History

2019-03-22 08:45:09 +01:00
#! /bin/bash
case "$1" in
*.exe)
fccwd=`pwd`
cd $(IFS=:;for i in $PATH; do echo $i|grep mingw> /dev/null; [ $? -eq 0 ] && echo $i; done)
/usr/bin/env wine $fccwd/$@
;;
*)
$@
;;
esac