From a020e8941a54826c63e3c36efd7a4e36fac256d9 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Sun, 18 Feb 2018 13:24:41 +0300 Subject: [PATCH] boards.txt.py: normalize script name in generated output --- boards.txt | 2 +- tools/boards.txt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards.txt b/boards.txt index 7b73ff7af0..4b27a56021 100644 --- a/boards.txt +++ b/boards.txt @@ -1,5 +1,5 @@ # -# this file is script-generated and is likely to be overwritten by tools/boards.txt.py +# this file is script-generated and is likely to be overwritten by boards.txt.py # menu.BoardModel=Model diff --git a/tools/boards.txt.py b/tools/boards.txt.py index cbf076d0c5..9c458e5ff0 100755 --- a/tools/boards.txt.py +++ b/tools/boards.txt.py @@ -1102,7 +1102,7 @@ def all_boards (): macros.update(led(led_default, led_max)) print '#' - print '# this file is script-generated and is likely to be overwritten by ' + sys.argv[0] + print '# this file is script-generated and is likely to be overwritten by ' + os.path.basename(sys.argv[0]) print '#' print '' print 'menu.BoardModel=Model'