]> sigrok.org Git - sigrok-util.git/commitdiff
new-driver: Print driver "short" name in configure summary.
authorUwe Hermann <redacted>
Wed, 8 May 2013 15:17:55 +0000 (17:17 +0200)
committerUwe Hermann <redacted>
Wed, 8 May 2013 15:17:55 +0000 (17:17 +0200)
(e.g. 'tondaj-sl-814', not 'Tondaj SL-814').

source/new-driver

index 0e2a9ce4a9a1886245a6b320a8ad3376eccca7a3..a93a441e67dc3d253b0d8b288ab89102bf3ebe2e 100755 (executable)
@@ -144,7 +144,7 @@ def do_configure_ac(gitdir):
     # add summary line
     out = ''
     state = 'copy'
-    names['summary'] = "%s%s $HW_%s" % (names['name'],
+    names['summary'] = "%s%s $HW_%s" % (names['short'],
             '.' * (32 - len(names['name'])), names['upper'])
     for line in configure_ac.split('\n')[:-1]:
         if state == 'copy':