Browse Source

Minor whitespace fixes.

pull/696/head
Joao Matos 9 years ago
parent
commit
f5ea7a1d50
  1. 14
      build/scripts/LLVM.lua
  2. 2
      build/scripts/Utils.lua

14
build/scripts/LLVM.lua

@ -343,17 +343,17 @@ if _ACTION == "clone_llvm" then @@ -343,17 +343,17 @@ if _ACTION == "clone_llvm" then
end
if _ACTION == "build_llvm" then
local llvm_build = path.join(llvm, get_llvm_package_name())
clean_llvm(llvm_build)
build_llvm(llvm_build)
local llvm_build = path.join(llvm, get_llvm_package_name())
clean_llvm(llvm_build)
build_llvm(llvm_build)
os.exit()
end
if _ACTION == "package_llvm" then
local conf = get_llvm_configuration_name()
local llvm_build = path.join(llvm, get_llvm_package_name())
local pkg = package_llvm(conf, llvm, llvm_build)
archive_llvm(pkg)
local conf = get_llvm_configuration_name()
local llvm_build = path.join(llvm, get_llvm_package_name())
local pkg = package_llvm(conf, llvm, llvm_build)
archive_llvm(pkg)
os.exit()
end

2
build/scripts/Utils.lua

@ -166,7 +166,7 @@ end @@ -166,7 +166,7 @@ end
function os.rmfiles(src_dir, filter)
filter = filter or "**"
src_dir = src_dir .. "/"
print('rm "' .. path.getabsolute(src_dir) .. filter)
print('rm ' .. path.getabsolute(src_dir) .. " " .. filter)
if not os.isdir(src_dir) then error(src_dir .. " is not an existing directory!") end
local dir = path.rebase(".",path.getabsolute("."), src_dir) -- root dir, relative from src_dir

Loading…
Cancel
Save