Skip to content

Commit

Permalink
boards.txt.py: normalize script name in generated output
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Feb 19, 2018
1 parent a358bce commit a020e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boards.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/boards.txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a020e89

Please sign in to comment.