1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00
This commit is contained in:
Jan Schneider 2018-04-28 21:04:24 +02:00
parent 53e25f2ebd
commit 141f03af43

View File

@ -1016,7 +1016,7 @@ proc ::rmupdate::get_current_firmware_version {} {
} }
set data [read $fp] set data [read $fp]
close $fp close $fp
regexp {\s*VERSION\s*=s*([\d\.]+)\s*$} $data match current_version regexp {\s*VERSION\s*=\s*([\d\.]+)\s*$} $data match current_version
return $current_version return $current_version
} }