mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
COPKGManager: use wildcard char for ar command
This fixes unpacking of local and downloaded packages.
Origin commit data
------------------
Commit: 54d3ad261c
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
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