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 -t 8 < $DEVNULL
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,
16 tools-for-build/whitespacely-canonical-filenames \
17 | xargs tools-for-build/canonicalize-whitespace-1