package daemon: ExtractPackageContent(): Extract only requested
... content path.
This commit is contained in:
parent
302a8fc86e
commit
e3555ffae4
@ -215,7 +215,9 @@ FSUtils::ExtractPackageContent(const char* packagePath, const char* contentPath,
|
||||
std::string commandLine = std::string("package extract -C ")
|
||||
+ ShellEscapeString(targetDirectoryPath).String()
|
||||
+ " "
|
||||
+ ShellEscapeString(packagePath).String();
|
||||
+ ShellEscapeString(packagePath).String()
|
||||
+ " "
|
||||
+ ShellEscapeString(contentPath).String();
|
||||
if (system(commandLine.c_str()) != 0)
|
||||
return B_ERROR;
|
||||
return B_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user