diff options
Diffstat (limited to 'debian/patches/fix-whitespace-test.diff')
-rw-r--r-- | debian/patches/fix-whitespace-test.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/fix-whitespace-test.diff b/debian/patches/fix-whitespace-test.diff new file mode 100644 index 0000000..f88e793 --- /dev/null +++ b/debian/patches/fix-whitespace-test.diff @@ -0,0 +1,13 @@ +diff --git a/src/tests/whitespace_test b/src/tests/whitespace_test +index f055ed4c2..fa95494be 100755 +--- a/src/tests/whitespace_test ++++ b/src/tests/whitespace_test +@@ -16,7 +16,7 @@ fi + + { + # Look for lines with trailing whitespace in all files tracked by Git +- git grep -n -I '\s\+$' -- "$(git rev-parse --show-toplevel)" || ++ git grep --full-name -n -I '\s\+$' -- "$(git rev-parse --show-toplevel)" || + # Don't fail if no such lines were found anywhere + [[ $? == 1 ]] + } | |