1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Create LV2 install directory when necessary

This commit is contained in:
reuk 2022-06-28 12:01:44 +01:00
parent a20e8d8592
commit 2d7c65589d

View file

@ -2297,10 +2297,12 @@ private:
if (installPath.isNotEmpty())
{
script << "if [ \"$CONFIGURATION\" = \"" << config->getName()
<< "\" ]; then\n /bin/ln -sfh \"$CONFIGURATION_BUILD_DIR\" \""
<< installPath.replace ("$(HOME)", "$HOME") << '/' << target->getLV2BundleName()
<< "\"\nfi\n";
const auto destination = installPath.replace ("$(HOME)", "$HOME");
script << "if [ \"$CONFIGURATION\" = \"" << config->getName() << "\" ]; then\n"
"mkdir -p \"" << destination << "\"\n"
"/bin/ln -sfh \"$CONFIGURATION_BUILD_DIR\" \"" << destination << "\"\n"
"fi\n";
}
}