diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-15 15:16:15 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-15 15:16:15 +0000 |
| commit | b2aa4add168924bd79c186b74b263a2484e7b0f0 (patch) | |
| tree | c58079c3b4676bbe89c8f474743d8596a5499784 /scripts/build.py | |
| parent | 24151cb553c7811aa0435a74b58c0694632d433b (diff) | |
| download | zcatch-b2aa4add168924bd79c186b74b263a2484e7b0f0.tar.gz zcatch-b2aa4add168924bd79c186b74b263a2484e7b0f0.zip | |
fixed build.py
Diffstat (limited to 'scripts/build.py')
| -rw-r--r-- | scripts/build.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build.py b/scripts/build.py index 5ec7a0d7..4dd413b0 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -107,10 +107,12 @@ if 1: print "*** building bam ***" os.chdir("bam") output = "bam" + bam_cmd = "./bam" if os.name == "nt": if os.system("make_win32_msvc2005.bat") != 0: bail("failed to build bam") output += ".exe" + bam_cmd = "bam" else: if os.system("sh make_unix.sh") != 0: bail("failed to build bam") @@ -121,7 +123,7 @@ if 1: if 1: print "*** building teewars ***" os.chdir(src_dir) - if os.system("./bam server_release client_release") != 0: + if os.system("%s server_release client_release" % bam_cmd) != 0: bail("failed to build teewars") os.chdir(root_dir) |