Skip to content

Commit a020e89

Browse files
committed
boards.txt.py: normalize script name in generated output
1 parent a358bce commit a020e89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# this file is script-generated and is likely to be overwritten by tools/boards.txt.py
2+
# this file is script-generated and is likely to be overwritten by boards.txt.py
33
#
44

55
menu.BoardModel=Model

tools/boards.txt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ def all_boards ():
11021102
macros.update(led(led_default, led_max))
11031103

11041104
print '#'
1105-
print '# this file is script-generated and is likely to be overwritten by ' + sys.argv[0]
1105+
print '# this file is script-generated and is likely to be overwritten by ' + os.path.basename(sys.argv[0])
11061106
print '#'
11071107
print ''
11081108
print 'menu.BoardModel=Model'

0 commit comments

Comments
 (0)