mym2: fixed missing French accents
[neverball] / scripts / gen-install-dlls.sh
1 #!/bin/sh
2
3 if test -z "$MINGW_PREFIX"; then
4     cat >&2 <<EOF
5 MINGW_PREFIX not set.  Set the MINGW_PREFIX environment variable to your
6 MinGW path, such as /mingw, /usr/i586-mingw32msvc or ~/mingw.
7 EOF
8     exit 1
9 fi
10
11 if ! test -d "$MINGW_PREFIX"; then
12     cat >&2 <<EOF
13 MINGW_PREFIX not valid.  Make sure the MINGW_PREFIX environment variable
14 is set to a valid location.
15 EOF
16     exit 1
17 fi
18
19 cat <<EOF
20 #!/bin/sh
21 # This script was generated automatically.
22 # Edit the list below to suit your needs.
23
24 install \\
25 $(ls "$MINGW_PREFIX"/{bin,lib}/*.dll | sed -e 's/^/    /' -e 's/$/ \\/')
26     .
27 EOF
28