diff --git a/contrib/chg/Makefile b/contrib/chg/Makefile
--- a/contrib/chg/Makefile
+++ b/contrib/chg/Makefile
@@ -1,4 +1,4 @@
-HG = hg
+HG = $(CURDIR)/../../hg
 
 TARGET = chg
 SRCS = chg.c hgclient.c util.c