Cross Reference: wrapper-script.sh
xref: /xsrc/external/mit/fontconfig/dist/test/wrapper-script.sh
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/fontconfig/dist/test/
1a4e54154Smrg#! /bin/bash
2a4e54154Smrg
3a4e54154Smrgcase "$1" in
4a4e54154Smrg  *.exe)
5a4e54154Smrg    fccwd=`pwd`
6a4e54154Smrg    cd $(IFS=:;for i in $PATH; do echo $i|grep mingw> /dev/null; [ $? -eq 0 ] && echo $i; done)
7a4e54154Smrg    /usr/bin/env wine $fccwd/$@
8a4e54154Smrg    ;;
9a4e54154Smrg  *)
10a4e54154Smrg    $@
11a4e54154Smrg    ;;
12a4e54154Smrgesac
13a4e54154Smrg
14

Indexes created Sun Nov 30 02:09:33 GMT 2025