summaryrefslogtreecommitdiff
path: root/cpp/makebindist.py
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2007-07-13 12:48:38 -0230
committerBrent Eagles <brent@zeroc.com>2007-07-13 13:18:38 -0230
commit9d1a7fecf3dc8f21c90c0daa1a3f36b543ed8b56 (patch)
treee53bf7c751bd1172dff4b4f6b18d9f674146388e /cpp/makebindist.py
parentFixed bug #2299 (findByMEMBER in Java) + tests (diff)
downloadice-9d1a7fecf3dc8f21c90c0daa1a3f36b543ed8b56.tar.bz2
ice-9d1a7fecf3dc8f21c90c0daa1a3f36b543ed8b56.tar.xz
ice-9d1a7fecf3dc8f21c90c0daa1a3f36b543ed8b56.zip
Disable 'clean' if --nobuild is specified
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-xcpp/makebindist.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py
index ef4667c1e6b..0d5c8a4995e 100755
--- a/cpp/makebindist.py
+++ b/cpp/makebindist.py
@@ -24,6 +24,9 @@ import os, sys, shutil, re, string, getopt, glob, logging, fileinput
# makebindist.py doesn't know how to create them both.
#
+#
+# TODO: We need a solid way to get the location of the git repository.
+#
repoDir = os.getcwd()
def initDirectory(d):
@@ -955,6 +958,7 @@ def main():
clean = False
elif o == '--nobuild':
build = False
+ clean = False # Cleaning doesn't make much sense if we aren't building either.
elif o == '--stlporthome':
buildEnvironment['STLPORT_HOME'] = a
elif o == '--bzip2home':