summaryrefslogtreecommitdiffstats
path: root/media/libsoundtouch/clear-lf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'media/libsoundtouch/clear-lf.sh')
-rwxr-xr-xmedia/libsoundtouch/clear-lf.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/media/libsoundtouch/clear-lf.sh b/media/libsoundtouch/clear-lf.sh
new file mode 100755
index 0000000000..bd6295ba87
--- /dev/null
+++ b/media/libsoundtouch/clear-lf.sh
@@ -0,0 +1,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