commit ae082ccda3237910bf8f754f90f3349e16ec9233
Author: Sam Thursfield <sam@afuera.me.uk>
Date:   Sat Dec 31 13:41:12 2011 +0000

    Use pwd -W on MSYS when installing
    
    This gives an absolute path instead of an MSYS-relative one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644643

diff --git a/Makefile.plain b/Makefile.plain
index c86572b..5b44ee1 100644
--- a/Makefile.plain
+++ b/Makefile.plain
@@ -6,6 +6,10 @@ CFLAGS = -Wall -O2
 
 MAKE ?= make
 
+ifeq ($(MSYSTEM),MINGW32)
+PWDARGS = -W
+endif
+
 -include Makefile.inc
 
 all: include-check install-check
@@ -30,7 +34,7 @@ install: include-check install-check
 	@if [ "x$(DISABLE_GETTEXT)" = x ]; then (cd po && $(MAKE) -f Makefile.plain install); fi
 	@echo "Creating $(bindir)/jhbuild"
 	@mkdir -p $(bindir)
-	@sed -e "s,@jhbuilddir@,`pwd`,g" \
+	@sed -e "s,@jhbuilddir@,`pwd $(PWDARGS)`,g" \
 		-e "s,USE_CHECKOUT_SRC = False,USE_CHECKOUT_SRC = True," < \
 		scripts/jhbuild.in > $(bindir)/jhbuild
 	@chmod a+x $(bindir)/jhbuild
