aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/util.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-07-07 15:57:56 +0200
committermarha <marha@users.sourceforge.net>2014-07-07 15:59:48 +0200
commit294a395f15dec9e7aa24b83b08f47ba54b9bd232 (patch)
tree4a70718ec5ad3b84424e368dace64858edf3985e /tools/mhmake/src/util.cpp
parent0fc6b05dc947d92381453fbe0ce690196719da86 (diff)
downloadvcxsrv-294a395f15dec9e7aa24b83b08f47ba54b9bd232.tar.gz
vcxsrv-294a395f15dec9e7aa24b83b08f47ba54b9bd232.tar.bz2
vcxsrv-294a395f15dec9e7aa24b83b08f47ba54b9bd232.zip
Solved problem of MAKE variable having an empty value
Speed up when no svn installed by defining env variable nosvn
Diffstat (limited to 'tools/mhmake/src/util.cpp')
-rw-r--r--tools/mhmake/src/util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp
index e1fcf0d27..ae8610a1b 100644
--- a/tools/mhmake/src/util.cpp
+++ b/tools/mhmake/src/util.cpp
@@ -338,6 +338,9 @@ refptr<loadedmakefile> LOADEDMAKEFILES::find(const loadedmakefile &ToSearch)
///////////////////////////////////////////////////////////////////////////////
bool loadedmakefile::loadedmakefile_statics::GetSvnRevision(void)
{
+ if (getenv("nosvn"))
+ return true;
+
// Get the revision of the working copy
// We do it with the svn info command (do it without path arguments, only current directory, to avoid problems with path names and junctions/links