From e1dff099169fee2363bb455afb14b866ae3fd7bf Mon Sep 17 00:00:00 2001 From: tpoole Date: Mon, 6 Nov 2017 09:17:31 +0000 Subject: [PATCH] CLion: Made a plug-in copying path more robust --- .../Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h index 6152705817..c6a08fd130 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h @@ -1037,7 +1037,7 @@ private: if (target->getTargetFileType() == ProjectType::Target::TargetFileType::pluginBundle && targetAttributeKeys.contains("INSTALL_PATH")) { - const auto installPath = targetAttributes["INSTALL_PATH"].unquoted(); + const auto installPath = targetAttributes["INSTALL_PATH"].unquoted().replace ("$(HOME)", "$ENV{HOME}"); const auto productFilename = binaryName + (targetAttributeKeys.contains ("WRAPPER_EXTENSION") ? "." + targetAttributes["WRAPPER_EXTENSION"] : String()); auto productPath = (installPath + productFilename).quoted(); out << "add_custom_command (TARGET " << targetVarName << " POST_BUILD" << newLine