diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-26 13:07:23 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-12-26 14:51:59 -1000 |
commit | 59c3e0b998fd69532159d8dc416109cf50651482 (patch) | |
tree | 2e58bef1273e4d3542c168980e4a2d793e170045 /apt-private/private-source.cc | |
parent | ac0d26d4e39da16bdbf575637fd3d4b24a7fb4b8 (diff) | |
parent | 2aa218273eb6009880e987f90d3e24b8efb04642 (diff) |
Merge nitotv apt fixes into 1.4.81.4.8+nitotv
Diffstat (limited to 'apt-private/private-source.cc')
-rw-r--r-- | apt-private/private-source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc index e9ec7c6cf..923ea4db1 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 (system(S.c_str()) != 0) + if (RunCmd(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 (system(S.c_str()) != 0) + if (RunCmd(S.c_str()) != 0) { _error->Error(_("Build command '%s' failed.\n"), S.c_str()); continue; |