blob: 30b38fa685eb058db8618ccc81ea0b47bc01f1ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/utils/scripts/lepton-upcfg.in b/utils/scripts/lepton-upcfg.in
index 8d9b45943..601ae188d 100644
--- a/utils/scripts/lepton-upcfg.in
+++ b/utils/scripts/lepton-upcfg.in
@@ -219,7 +219,13 @@ Lepton EDA homepage: <~a>
)
- ( upcfg-log "ii: upgrading config in [~a]...~%" (config-file-path cfg-id) )
+ ( upcfg-log
+ "ii: upgrading config in [~a]...~%"
+ ( if cfg-id
+ ( config-file-path cfg-id ) ; if
+ ( list-ref files 0 ) ; else
+ )
+ )
( if ( null? files )
( or (config-upgrade cfg-id #:copy copy #:overwrite overwrite) (failure) ) ; if
|