0.9.12:
[sbcl/lichteblau.git] / tools-for-build / canonicalize-whitespace
blobc487a22aa5031bcadb0df14a339b8ce850767b1c
1 #!/bin/sh
3 # (a script to be run in the root directory of the distribution)
5 # Convert tabs to spaces and delete trailing whitespace in files
6 # which we can safely assume to be source files in appropriate languages.
8 if ! expand --version
9 then
10 # If we're building with MSYS on Windows GNU expand is not available,
11 # and what we get is Microsoft Expand, which is something quite different,
12 # so bail out.
13 exit
16 tools-for-build/whitespacely-canonical-filenames \
17 | xargs tools-for-build/canonicalize-whitespace-1