From 294a395f15dec9e7aa24b83b08f47ba54b9bd232 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 7 Jul 2014 15:57:56 +0200 Subject: Solved problem of MAKE variable having an empty value Speed up when no svn installed by defining env variable nosvn --- tools/mhmake/src/util.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/mhmake/src/util.cpp') 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 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 -- cgit v1.2.3