From 478aa96dd70c84f7824029cd2592ffa43d81b724 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 23 Jan 2019 23:39:46 -0500 Subject: [PATCH] Makefile Engine: Add quotes around INSTALL_DIR. This is the correct solution to #11419; I missed in my original commit that $(NAME) will already be escaped, and adding quotes double-escaped it erroneously. --- data/develop/makefile-engine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/develop/makefile-engine b/data/develop/makefile-engine index 7013a9a87d..9fbffc90c1 100644 --- a/data/develop/makefile-engine +++ b/data/develop/makefile-engine @@ -366,7 +366,7 @@ ifeq ($(INSTALL_DIR), ) @echo "No install directory specified for \"$(NAME)\" (INSTALL_DIR is empty)" >&2 else mkdir -p "$(INSTALL_DIR)" - cp $(TARGET) $(INSTALL_DIR)/$(NAME) + cp $(TARGET) "$(INSTALL_DIR)"/$(NAME) endif # Set the catalog installation directory if it isn't already.