From f5ea7a1d50143b20f41f3eee53eb15e23f58cd79 Mon Sep 17 00:00:00 2001 From: Joao Matos <joao@tritao.eu> Date: Wed, 28 Sep 2016 11:19:40 +0100 Subject: [PATCH] Minor whitespace fixes. --- build/scripts/LLVM.lua | 14 +++++++------- build/scripts/Utils.lua | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build/scripts/LLVM.lua b/build/scripts/LLVM.lua index 72086693..66fd7cff 100644 --- a/build/scripts/LLVM.lua +++ b/build/scripts/LLVM.lua @@ -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 diff --git a/build/scripts/Utils.lua b/build/scripts/Utils.lua index ebf85b7e..b0baf5c9 100644 --- a/build/scripts/Utils.lua +++ b/build/scripts/Utils.lua @@ -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