summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorJaywalker <jwilliams@nsllc.com>2018-02-06 23:51:41 -0600
committerSam Bingner <sam@bingner.com>2019-12-26 15:10:36 -1000
commit18876defc0a550f09b4ca64f331d804101396e65 (patch)
treef5dd89730bcc3e93ad27e1a4c3603edb70bc58ba /apt-private
parent1b9f9625972ed004ad9bdd7b1d4ce7ee3f152d45 (diff)
Fixed system() using coolstar's patch and added other required patches
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 c8a48a74a..e5de30a2c 100644
--- a/apt-private/private-source.cc
+++ b/apt-private/private-source.cc
@@ -519,7 +519,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 (system(S.c_str()) != 0)
+ if (RunCmd(S.c_str()) != 0)
{
_error->Error(_("Unpack command '%s' failed.\n"), S.c_str());
if (SaidCheckIfDpkgDev == false)
@@ -552,7 +552,7 @@ bool DoSource(CommandLine &CmdL)
_config->Find("Dir::Bin::dpkg-buildpackage","dpkg-buildpackage").c_str(),
buildopts.c_str());
- if (system(S.c_str()) != 0)
+ if (RunCmd(S.c_str()) != 0)
{
_error->Error(_("Build command '%s' failed.\n"), S.c_str());
continue;