]> Repos - portaudio/commitdiff
Used to prepare files for checkin on Windows
authorphil <phil@0f58301d-fd10-0410-b4af-bbb618454e57>
Tue, 19 Feb 2002 20:04:47 +0000 (20:04 +0000)
committerphil <phil@0f58301d-fd10-0410-b4af-bbb618454e57>
Tue, 19 Feb 2002 20:04:47 +0000 (20:04 +0000)
fixfile.bat [new file with mode: 0755]

diff --git a/fixfile.bat b/fixfile.bat
new file mode 100755 (executable)
index 0000000..48f6fbc
--- /dev/null
@@ -0,0 +1,7 @@
+rem Use Astyle to fix style in a file
+fixlines -p %1%
+astyle --style=ansi -c -o --convert-tabs --indent-preprocessor %1%
+del %1%.orig
+@rem convert line terminators to Unix style LFs
+fixlines -u %1%
+del %1%.bak