ghostty/vendor/fontconfig-2.14.0/test/wrapper-script.sh
2022-09-13 13:53:20 -07:00

14 lines
212 B
Bash
Executable File

#! /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