We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ac8fad commit 628e542Copy full SHA for 628e542
rpi-clone
@@ -1812,7 +1812,7 @@ then
1812
if grep -q "$src_disk_ID" "${clone}${cmdline_txt}"
1813
then
1814
qecho "Editing $cmdline_txt PARTUUID to use $dst_disk_ID"
1815
- sed -i "s/${src_disk_ID}/${dst_disk_ID}/" "$cmdline_txt"
+ sed -i "s/${src_disk_ID}/${dst_disk_ID}/" "${clone}${cmdline_txt}"
1816
elif [ "${src_fsuuid[root_part_num]}" != "" ] && grep -q "${src_fsuuid[root_part_num]}" "${clone}${cmdline_txt}"
1817
1818
new_fsuuid=${dst_fsuuid[root_part_num]}
0 commit comments