diff options
author | Alex Thiessen <alex.thiessen.de+coreboot@gmail.com> | 2018-01-18 23:11:07 +0000 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-23 05:17:44 +0000 |
commit | 687b96155cbd6c3c03dcc1bccdbe5104cd9db74b (patch) | |
tree | 921b11b88f1c33d8f9bd3ed8a8aea1abcc49625e | |
parent | 4a1ee4b53ec2eed6c9e8129381982c300fa87031 (diff) |
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 <alex.thiessen.de+coreboot@gmail.com>
Reviewed-on: https://review.coreboot.org/23324
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
-rwxr-xr-x | util/ipqheader/mbn_tools.py | 1 | ||||
-rwxr-xr-x | util/lint/lint-stable-018-symlinks | 1 | ||||
-rwxr-xr-x | util/lint/lint-stable-019-header-files | 2 | ||||
-rwxr-xr-x | util/me_cleaner/me_cleaner.py | 1 |
4 files changed, 1 insertions, 4 deletions
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!") - |