Patch subject is complete summary.

 version.sh |  3 ++-
 1 Dateien verändert, 2 Zeilen hinzugefügt(+), 1 Zeilen entfernt(-)


# HG changeset patch
# User Matthias Andree <matthias.and...@gmx.de>
# Date 1356084433 -3600
# Branch HEAD
# Node ID c460d4fd06e35879ffcfcce507562db5c750588a
# Parent  53f2272091f288a9ac37c1e20b16cfede0980be0
Fix VPATH build outside Mercurial repositories.

diff --git a/version.sh b/version.sh
--- a/version.sh
+++ b/version.sh
@@ -6,7 +6,8 @@
 
 # Ensure that we have a repo here and that mercurial is installed.  If
 # not, just cat the VERSION file; it contains the latest release number.
-{ [ -d "$HGROOT/.hg" ] && $HG >/dev/null 2>&1; } || exec cat VERSION
+{ [ -d "$HGROOT/.hg" ] && $HG >/dev/null 2>&1; } \
+|| exec cat "$HGROOT/VERSION"
 
 # This is a mercurial repo and we have the hg command.
 

Reply via email to