mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Remove utf-8 BOM in astyle.sh
This commit is contained in:
parent
343cc541fb
commit
76ccf71537
@ -113,6 +113,13 @@ for f in "$@"; do
|
||||
fi
|
||||
|
||||
flip -ub "$f"
|
||||
eval "$cmd '$f'"
|
||||
if [[ -f $f && `head -c 3 $f` == $'\xef\xbb\xbf' ]]; then
|
||||
mv $f $f.bom
|
||||
tail -c +4 $f.bom > $f
|
||||
echo "removed BOM from $f"
|
||||
fi
|
||||
|
||||
#qgsloggermig.pl "$f"
|
||||
eval "$cmd '$f'"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user