Subversion Repositories Kolibri OS

Rev

Rev 9965 | Rev 9970 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9965 Rev 9966
Line 877... Line 877...
877
    end
877
    end
878
    str = string.gsub(str, "%$", "\\$") -- escape $ as \$
878
    str = string.gsub(str, "%$", "\\$") -- escape $ as \$
879
    str = string.gsub(str, "%%", "%%%%") -- escape % as %%
879
    str = string.gsub(str, "%%", "%%%%") -- escape % as %%
880
    make_img_command = make_img_command .. " && cp " .. local_file .. " .kernel.mnt"
880
    make_img_command = make_img_command .. " && cp " .. local_file .. " .kernel.mnt"
881
    make_img_command = make_img_command .. " && str=" .. str
881
    make_img_command = make_img_command .. " && str=" .. str
882
    make_img_command = make_img_command .. ' && echo -n $str | dd of=.kernel.mnt bs=1 seek=`expr 279 - length "$str"` conv=notrunc 2>/dev/null'
882
    make_img_command = make_img_command .. ' && echo -n $str | dd of=.kernel.mnt bs=1 seek=`expr 274 - length "$str"` conv=notrunc 2>/dev/null'
883
    local_file = ".kernel.mnt"
883
    local_file = ".kernel.mnt"
884
    table.insert(output_deps, local_file)
884
    table.insert(output_deps, local_file)
885
  end
885
  end
886
  make_img_command = make_img_command .. ' && mcopy -moi kolibri.img "' .. local_file .. '" "::' .. v[1] .. '"'
886
  make_img_command = make_img_command .. ' && mcopy -moi kolibri.img "' .. local_file .. '" "::' .. v[1] .. '"'
887
end
887
end