Skip to content

Commit

Permalink
Improved verbosity of download_llvm step.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritao committed Jan 11, 2016
1 parent cc87e09 commit 82dc763
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build/scripts/LLVM.lua
Expand Up @@ -85,12 +85,16 @@ function download_llvm()
local archive = pkg_name .. archive_ext

-- check if we already have the file downloaded
if not os.isfile(archive) then
if os.isfile(archive) then
print("Archive " .. archive .. " already exists.")
else
download(base .. archive, archive)
end

-- extract the package
if not os.isdir(pkg_name) then
if os.isdir(pkg_name) then
print("Directory " .. pkg_name .. " already exists.")
else
if use_7zip then
extract_7z(archive, pkg_name)
else
Expand Down

0 comments on commit 82dc763

Please sign in to comment.