Implement rule AddDirectoryToHaikuImage in installoptionalpackage.
Fixes #9584.
This commit is contained in:
parent
2b41b37891
commit
cf2f912782
@ -216,6 +216,21 @@ function InstallSourceArchive()
|
||||
}
|
||||
|
||||
|
||||
function AddDirectoryToHaikuImage()
|
||||
{
|
||||
# AddDirectoryToHaikuImage directoryTokens : attributeFiles
|
||||
# Wrapper for Jam rule
|
||||
ParseFunctionArguments "\$@"
|
||||
|
||||
local dirTokens="/boot/\${functionArgs[0]}"
|
||||
TrimLeadingSpace dirTokens
|
||||
TrimEndingSpace dirTokens
|
||||
dirTokens=\${dirTokens//' '/\/}
|
||||
|
||||
mkdir -p "\${dirTokens}"
|
||||
}
|
||||
|
||||
|
||||
function AddSymlinkToHaikuImage()
|
||||
{
|
||||
# AddSymlinkToHaikuImage <dir tokens> : <link target> [ : <link name> ]
|
||||
|
Loading…
Reference in New Issue
Block a user