Skip to content

Commit

Permalink
Fixed manifest string.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 15, 2008
1 parent 91b6b58 commit 8550c99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/mojosetup_mainline.lua
Expand Up @@ -59,7 +59,7 @@ local function manifest_resync(man, fname, _key)
ftype = "symlink"
-- !!! FIXME: linkdest?
elseif MojoSetup.platform.isdir(fullpath) then
ftype = "directory"
ftype = "dir"
else -- !!! FIXME: other types?
ftype = "file"
sums = MojoSetup.checksum(fullpath)
Expand Down Expand Up @@ -774,6 +774,9 @@ local function build_xml_manifest(package)
retval = retval .. '\t\t<option name="' .. desc .. '">\n'
for i,item in ipairs(items) do
local type = item.type
if type == "dir" then
type = "directory" -- loki_setup expects this string.
end

-- !!! FIXME: files from archives aren't filling item.mode in
-- !!! FIXME: because it figures out the perms from the archive's
Expand Down

0 comments on commit 8550c99

Please sign in to comment.