mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
b3901ab42f
git-subtree-dir: pkg/arvo git-subtree-mainline:9c8f40bf6c
git-subtree-split:c20e2a185f
12 lines
213 B
Bash
Executable File
12 lines
213 B
Bash
Executable File
#!/bin/bash
|
|
|
|
whitespace=$(find .. -path ../.git -prune -o \
|
|
-type f -exec egrep -l " +$" {} \;);
|
|
|
|
if [ ! -z $whitespace ]
|
|
then
|
|
echo 'found trailing whitespace in:';
|
|
echo $whitespace;
|
|
exit 1;
|
|
fi
|