]>
Commit | Line | Data |
---|---|---|
4258a5a4 GKH |
1 | #!/bin/bash |
2 | ||
3 | for file in $(ls *.patch); do | |
4 | ISO=$(file "${file}" | grep ISO) | |
5 | if [ "${ISO}" != "" ] ; then | |
6 | echo "Converting ${file}" | |
7 | tmpfile=$(mktemp convert-XXXXX || exit 1) | |
8 | iconv -c --to-code=UTF-8//TRANSLIT "${file}" > "${tmpfile}" | |
9 | mv "${tmpfile}" "${file}" | |
10 | fi | |
11 | done | |
12 |