Skip to content

Commit

Permalink
dtb: refine 'clear' task of DeviceTreeParser
Browse files Browse the repository at this point in the history
'clear' task can erase .dtb file now
  • Loading branch information
cfig committed Jun 6, 2023
1 parent e5c6a41 commit 7652770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbootimg/src/main/kotlin/packable/DeviceTreeParser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class DeviceTreeParser : IPackable {

fun clear(fileName: String) {
super.clear()
listOf(".new").forEach {
listOf("", ".new").forEach {
"$fileName$it".deleteIfExists()
}
}
Expand Down

0 comments on commit 7652770

Please sign in to comment.