From 52648623e03e6769ae73ef8ee999d671fb657d62 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 6 Jun 2015 19:48:25 +0200 Subject: Remove empty lines at end of file Used command line to remove empty lines at end of file: find . -type f -exec sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Change-Id: I816ac9666b6dbb7c7e47843672f0d5cc499766a3 Signed-off-by: Elyes HAOUAS Reviewed-on: http://review.coreboot.org/10446 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- util/lint/lint-stable-003-whitespace | 1 - util/lint/lint-stable-005-board-status | 1 - 2 files changed, 2 deletions(-) (limited to 'util/lint') diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace index 819ef63034..3f600407cc 100755 --- a/util/lint/lint-stable-003-whitespace +++ b/util/lint/lint-stable-003-whitespace @@ -21,4 +21,3 @@ LC_ALL=C export LC_ALL grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|^util/nvidia/cbootimage$|\|\|\|_shipped$|\.patch$|\.bin$|\.hex$)"` | \ sed -e "s,^.*$,File & has lines ending with whitespace.," - diff --git a/util/lint/lint-stable-005-board-status b/util/lint/lint-stable-005-board-status index 94fc265f45..a00fe0c681 100755 --- a/util/lint/lint-stable-005-board-status +++ b/util/lint/lint-stable-005-board-status @@ -42,4 +42,3 @@ for mobodir in $(git diff --diff-filter ACMR --name-only src/mainboard | sed -n done exit 0 - -- cgit v1.2.3