summaryrefslogtreecommitdiffstats
path: root/media/libsoundtouch/clear-lf.sh
blob: bd6295ba878cb87bb12a5007f1db745260f1a4a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Remove the Windows line ending characters from the files.
for i in src/*
do
  cat $i | tr -d '\015' > $i.lf
  mv $i.lf $i
done