summaryrefslogtreecommitdiff
path: root/mk/install.mk.in
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-20 00:03:08 +0000
committerIan Lynagh <igloo@earth.li>2011-01-20 00:03:08 +0000
commitecb2fdd196ce44b726189fcbb76697986ad040cf (patch)
tree2e285a1b454fcc19c997eda1baffb483dae123aa /mk/install.mk.in
parenta04ec84a673254d9f2f9d11db12c44a39f2abf3b (diff)
downloadhaskell-ecb2fdd196ce44b726189fcbb76697986ad040cf.tar.gz
Fix OSTYPE test
Diffstat (limited to 'mk/install.mk.in')
-rw-r--r--mk/install.mk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install.mk.in b/mk/install.mk.in
index 6d5f724ea6..6d9f9027f9 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