Fix OSTYPE test
authorIan Lynagh <igloo@earth.li>
Thu, 20 Jan 2011 00:03:08 +0000 (00:03 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 20 Jan 2011 00:03:08 +0000 (00:03 +0000)
mk/install.mk.in

index 6d5f724..6d9f902 100644 (file)
@@ -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