Browse Source

Fixed LLVM archive packaging scripts.

pull/591/head
Joao Matos 10 years ago
parent
commit
21e9264e6e
  1. 7
      build/scripts/LLVM.lua

7
build/scripts/LLVM.lua

@ -173,7 +173,12 @@ function package_llvm(conf, llvm, llvm_build)
end end
function archive_llvm(dir) function archive_llvm(dir)
execute("7z a " .. dir .. ".7z " .. "./" .. dir .. "/*") local archive = dir .. ".7z"
if os.isfile(archive) then os.remove(archive) end
local cwd = os.getcwd()
os.chdir(dir)
execute("7z a " .. path.join("..", archive) .. " *")
os.chdir(cwd)
end end
if _ACTION == "clone_llvm" then if _ACTION == "clone_llvm" then

Loading…
Cancel
Save