1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 11:37:40 +00:00

Fix root= regex

This commit is contained in:
Jan Schneider
2017-06-19 00:21:07 +02:00
parent babc7641f7
commit 92bcb9b3ca
3 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ proc ::rmupdate::update_cmdline {cmdline root} {
set data [read $fd]
close $fd
regsub -all "root=\[a-zA-Z0-9=/-\]+\s" $data "root=${root} " data
regsub -all "root=\[a-zA-Z0-9\=/\-\]+ " $data "root=${root} " data
set fd [open $cmdline w]
puts $fd $data