repo.or.cz
/
mingw-xscripts.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add a README
[mingw-xscripts.git]
/
mingw-list-dlls
blob
ec91459ff1d02e04ec14b436919a37ed89a99d06
1
#!/bin/sh
2
3
. mingw-environment.sh
4
5
DLLS
=
"$(find "
$MINGW_PREFIX
/
bin
" "
$MINGW_PREFIX
/
lib
" -name "
*
.dll
")"
6
7
case
"
$1
"
in
8
-h
|
--help
)
9
echo
"Usage:
$0
[--sh]"
10
exit
11
;;
12
--sh
)
13
cat
<<EOF
14
#!/bin/sh
15
# This script was generated automatically.
16
# Edit the list below to suit your needs.
17
18
cp \\
19
$(echo "
$DLLS
" | sed -e 's/^/ /' -e 's/$/ \\/')
20
.
21
EOF
22
;;
23
*)
24
echo
"
$DLLS
"
25
;;
26
esac
27