handle --without-xxx options more correctly in make.sh
[sbcl.git] / tools-for-build / canonicalize-whitespace
blob0d39131216e8439064dafb5456823ff28bd0ec74
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 -t 8 < $DEVNULL
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