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:
parent
a20e8d8592
commit
2d7c65589d
1 changed files with 6 additions and 4 deletions
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue