mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
COPKGManager: use wildcard char for ar command
This fixes unpacking of local and downloaded packages.
This commit is contained in:
@@ -257,7 +257,7 @@ bool COPKGManager::checkSize(const string& pkg_name)
|
|||||||
execCmd(pkg_types[OM_DOWNLOAD] + plain_pkg); //download package
|
execCmd(pkg_types[OM_DOWNLOAD] + plain_pkg); //download package
|
||||||
|
|
||||||
//unpack package into test dir
|
//unpack package into test dir
|
||||||
string ar = "ar -x " + plain_pkg;
|
string ar = "ar -x " + plain_pkg + char(0x2a);
|
||||||
execCmd(ar);
|
execCmd(ar);
|
||||||
|
|
||||||
//untar package into test directory
|
//untar package into test directory
|
||||||
|
Reference in New Issue
Block a user