Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2011-05-09 23:42:11 +0400
committerJason Perkins <starkos@industriousone.com>2011-05-09 23:42:11 +0400
commit603575e648704101f6c566af55fb3dd2472c7396 (patch)
tree6da88d76bb3d23fa0e14cb6cda4eae21c4142eb5 /scripts
parenta9f4a9f6298b0860ecae3f2e2f5fac0ef31e589f (diff)
Tweaks to release script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/release.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/release.lua b/scripts/release.lua
index e11757a..338d1c6 100644
--- a/scripts/release.lua
+++ b/scripts/release.lua
@@ -11,7 +11,6 @@
function dorelease()
local z
- local hgroot = "https://bitbucket.org/premake/premake-stable"
--
-- Helper function: runs a command (formatted, with optional arguments) and
@@ -47,7 +46,7 @@ function dorelease()
-- Look for required utilities
--
- local required = { "hg", "zip", "tar", "make", "gcc" }
+ local required = { "hg", "make", "gcc" }
for _, value in ipairs(required) do
z = exec("%s --version", value)
if z ~= 0 then
@@ -86,7 +85,7 @@ function dorelease()
os.chdir("release")
os.rmdir(pkgname)
- z = exec( "hg clone -r %s %s %s", version, hgroot, pkgname)
+ z = exec( "hg clone -r %s .. %s", version, pkgname)
if z ~= 0 then
error("** Failed to download tagged sources", 0)
end