summaryrefslogtreecommitdiff
path: root/mk/install.mk.in
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-11-05 16:23:00 +0000
committerIan Lynagh <igloo@earth.li>2009-11-05 16:23:00 +0000
commitf65bf7559b3e92607cfcf7a334e9994891dd9c32 (patch)
tree2e25a23c0baa60c14b8bf0a459732e3e1a36cc55 /mk/install.mk.in
parent723eb70f31b2b413a51387bbbfbe01bb9b8c5907 (diff)
downloadhaskell-f65bf7559b3e92607cfcf7a334e9994891dd9c32.tar.gz
Make installation on *nix work for paths with spaces in their name
This means we can remove some conditional stuff from the Makefiles, and means the testsuite doesn't have to work out whether or not it's on Windows.
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 3aed8b77be..d1bce874a6 100644
--- a/mk/install.mk.in
+++ b/mk/install.mk.in
@@ -133,8 +133,8 @@ INSTALL_GROUP =
# Invocations of `install' for the four different classes
# of targets:
#
-CREATE_SCRIPT = create () { touch $$1 && chmod 755 $$1 ; } && create
-CREATE_DATA = create () { touch $$1 && chmod 644 $$1 ; } && create
+CREATE_SCRIPT = create () { touch "$$1" && chmod 755 "$$1" ; } && create
+CREATE_DATA = create () { touch "$$1" && chmod 644 "$$1" ; } && create
INSTALL_PROGRAM = $(INSTALL) -m 755
INSTALL_SCRIPT = $(INSTALL) -m 755
INSTALL_SHLIB = $(INSTALL) -m 755