diff Makefile @ 879:055f9254d790

Makefile: set HGRCPATH to protects us from broken environments
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 20 Apr 2012 23:55:53 +0200
parents 4589d48c9e1b
children
line wrap: on
line diff
--- a/Makefile
+++ b/Makefile
@@ -17,11 +17,11 @@ check: check-demandimport check-subvertp
 check-demandimport:
 	# verify that hgsubversion loads properly without bindings, but fails
 	# when actually used
-	! LC_ALL=C HGSUBVERSION_BINDINGS=none \
+	! LC_ALL=C HGSUBVERSION_BINDINGS=none HGRCPATH=/dev/null \
 	  hg --config extensions.hgsubversion=./hgsubversion \
 	  version 2>&1 \
 	  | egrep '(^abort:|failed to import extension)'
-	LC_ALL=C HGSUBVERSION_BINDINGS=none \
+	LC_ALL=C HGSUBVERSION_BINDINGS=none HGRCPATH=/dev/null \
 	  hg --config extensions.hgsubversion=./hgsubversion \
 	  version --svn 2>&1 \
 	  | egrep '(^abort:|failed to import extension)'