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:
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