X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Finstall.mk.in;h=6d9f9027f94147ac45b77e525d37957f8ed0ef6b;hb=fc2fdad3793706eeea4c8083551f00c2fb6ab812;hp=6d5f724ea6367945d4b98c3bd4f12ed1060b4853;hpb=5775d5142da227d65fb86994d363eb16841ee642;p=ghc-hetmet.git diff --git a/mk/install.mk.in b/mk/install.mk.in index 6d5f724..6d9f902 100644 --- a/mk/install.mk.in +++ b/mk/install.mk.in @@ -161,8 +161,8 @@ INSTALL_DIR = $(INSTALL) -m 755 -d $(call MK_INSTALL_DEST,$1) # # We therefore use a /cygdrive path if we are on cygwin (only) # (This will make a Cygwin build run slowly -# becuase of all those shell invocations.) -ifeq "$OSTYPE" "cygwin" +# because of all those shell invocations.) +ifeq "$(OSTYPE)" "cygwin" MK_INSTALL_DEST = "$(shell cygpath $1)" else MK_INSTALL_DEST = $1