From 687b96155cbd6c3c03dcc1bccdbe5104cd9db74b Mon Sep 17 00:00:00 2001 From: Alex Thiessen Date: Thu, 18 Jan 2018 23:11:07 +0000 Subject: util/*: Fix final newlines in scripts Some script files under the `util` directory have no final newline or multiple final newlines. This is fixed so that an adapted `util/lint/lint-extended-015-final-newlines` does not bark at them anymore. Change-Id: Icec08f1fc7ea837906653475b7f821aa1a143169 Signed-off-by: Alex Thiessen Reviewed-on: https://review.coreboot.org/23324 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- util/ipqheader/mbn_tools.py | 1 - util/lint/lint-stable-018-symlinks | 1 - util/lint/lint-stable-019-header-files | 2 +- util/me_cleaner/me_cleaner.py | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) (limited to 'util') diff --git a/util/ipqheader/mbn_tools.py b/util/ipqheader/mbn_tools.py index af92e0b36c..bc2cdd29ad 100755 --- a/util/ipqheader/mbn_tools.py +++ b/util/ipqheader/mbn_tools.py @@ -2313,4 +2313,3 @@ def pad_SBL1_image (env, target, min_size_with_pad=MIN_IMAGE_SIZE_WITH_PAD, page #---------------------------------------------------------------------------- # HELPER FUNCTIONS END #---------------------------------------------------------------------------- - diff --git a/util/lint/lint-stable-018-symlinks b/util/lint/lint-stable-018-symlinks index 7865f559d9..833507c294 100755 --- a/util/lint/lint-stable-018-symlinks +++ b/util/lint/lint-stable-018-symlinks @@ -30,4 +30,3 @@ else sed 's|\.\/||' | \ grep -v "$EXCLUDED_DIRS" fi - diff --git a/util/lint/lint-stable-019-header-files b/util/lint/lint-stable-019-header-files index e98c3b58ed..1ce6cc525f 100755 --- a/util/lint/lint-stable-019-header-files +++ b/util/lint/lint-stable-019-header-files @@ -33,4 +33,4 @@ for header in $HEADER_FILES; do ${GREP_FILES} "#\s*include\s\+[\"<]\s*${header}\.h\s*[\">]" | \ grep "$INCLUDED_DIRS" | \ grep -v "$EXCLUDED_FILES"; \ -done \ No newline at end of file +done diff --git a/util/me_cleaner/me_cleaner.py b/util/me_cleaner/me_cleaner.py index e8a89cc92c..11f077d207 100755 --- a/util/me_cleaner/me_cleaner.py +++ b/util/me_cleaner/me_cleaner.py @@ -708,4 +708,3 @@ if __name__ == "__main__": if not args.check: print("Done! Good luck!") - -- cgit v1.2.3