mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 12:28:41 +03:00
Remove -l $logfile when echoing a failed avrdude command
This commit is contained in:
@@ -183,7 +183,7 @@ result () {
|
||||
echo ✅ "$(printf '%7.3f s' $elapsed): $specify"
|
||||
else
|
||||
echo ❌ "$(printf '%7.3f s' $elapsed): $specify (failed command below)"
|
||||
echo "\$ ${command[@]}" | tr -s " "
|
||||
echo "\$ ${command[@]}" | sed "s/ -l [^ ]* / /" | tr -s " "
|
||||
FAIL=true
|
||||
exitstate=1
|
||||
[[ $emulated -eq 0 ]] && sleep 4 # Let the hw settle down before next test
|
||||
|
||||
Reference in New Issue
Block a user