projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "./sync-all clean" command
[ghc-hetmet.git]
/
mk
/
install.mk.in
diff --git
a/mk/install.mk.in
b/mk/install.mk.in
index
6d5f724
..
2808c1f
100644
(file)
--- a/
mk/install.mk.in
+++ b/
mk/install.mk.in
@@
-161,9
+161,9
@@
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
#
# 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"
-MK_INSTALL_DEST = "$(shell cygpath $1)"
+# because of all those shell invocations.)
+ifeq "$(OSTYPE)" "cygwin"
+MK_INSTALL_DEST = $$(cygpath $1)
else
MK_INSTALL_DEST = $1
endif
else
MK_INSTALL_DEST = $1
endif