From 0802d268e0e363e42e2f97479700a4208c595ab2 Mon Sep 17 00:00:00 2001 From: Jason Perkins Date: Mon, 4 Oct 2010 06:43:19 -0400 Subject: Bug 2971841: Gmake escaping of shell variable $(...) is broken --- scripts/release.lua | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'scripts') diff --git a/scripts/release.lua b/scripts/release.lua index 53de20f..f15155e 100644 --- a/scripts/release.lua +++ b/scripts/release.lua @@ -98,22 +98,15 @@ function dorelease() -- --------------------------------------------------------------------------- --- --- Create a directory to hold the release --- - - local workdir = "premake-" .. version - os.mkdir("release/" .. workdir) - os.chdir("release/" .. workdir) - - -- -- Check out the release tagged sources to releases/ -- print("Downloading release tag...") - - -- hg clone -r {tag} https://bitbucket.org/premake/premake-stable . + + os.chdir("release") + -- hg clone -r {tag} https://bitbucket.org/premake/premake-stable premake-{version} + os.chdir("premake-" .. version) -- @@ -200,11 +193,11 @@ function dorelease() print("Building platform binary release...") - -- IMPORTANT: Mac binary needs to be build in Xcode to ensure 10.5 + -- IMPORTANT: Mac binary needs to be built in Xcode to ensure 10.5 -- compatibility right now. I haven't been able to figure out the -- right flags to make it work from a makefile yet. -- - -- In Xcode, open the inspector for the target. Set the architecture + -- In Xcode, open the inspector for the TARGET Set the architecture -- to 32-bit universal, and the base SDK to 10.5. exec("premake4 /platform=universal32 gmake") -- cgit v1.2.3