summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-12-28 15:53:57 -1000
committerSam Bingner <sam@bingner.com>2019-01-22 08:45:24 -1000
commitb3d27b44eaa5986d1066257bf9cc020814f99275 (patch)
treecfa592fb53be9ee9a3f93cb343dfee256c832bf7 /apt-private
parent9d801c75cdf8e48a8013257c684c7702806dde6c (diff)
Remove RunCmd
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-source.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc
index 923ea4db1..e9ec7c6cf 100644
--- a/apt-private/private-source.cc
+++ b/apt-private/private-source.cc
@@ -525,7 +525,7 @@ bool DoSource(CommandLine &CmdL)
strprintf(S, "%s %s %s",
_config->Find("Dir::Bin::dpkg-source","dpkg-source").c_str(),
sourceopts.c_str(), D.Dsc.c_str());
- if (RunCmd(S.c_str()) != 0)
+ if (system(S.c_str()) != 0)
{
_error->Error(_("Unpack command '%s' failed.\n"), S.c_str());
if (SaidCheckIfDpkgDev == false)
@@ -558,7 +558,7 @@ bool DoSource(CommandLine &CmdL)
_config->Find("Dir::Bin::dpkg-buildpackage","dpkg-buildpackage").c_str(),
buildopts.c_str());
- if (RunCmd(S.c_str()) != 0)
+ if (system(S.c_str()) != 0)
{
_error->Error(_("Build command '%s' failed.\n"), S.c_str());
continue;