summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorJaywalker <jwilliams@nsllc.com>2018-02-06 23:51:41 -0600
committerJaywalker <jwilliams@nsllc.com>2018-02-06 23:51:41 -0600
commit2d71f8c24d490b5a3773821264124f0ed5c9a9d2 (patch)
tree3b77d056cae38d88a93aeb691d9c5364bedb4b30 /apt-private
parent3bfcf8ca7023843a9b12de8e58bccab32b4c1a43 (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 1e819a668..9e7951ed2 100644
--- a/apt-private/private-source.cc
+++ b/apt-private/private-source.cc
@@ -533,7 +533,7 @@ bool DoSource(CommandLine &CmdL)
strprintf(S, "%s %s %s",
_config->Find("Dir::Bin::dpkg-source","dpkg-source").c_str(),
sourceopts.c_str(), Dsc[I].Dsc.c_str());
- if (system(S.c_str()) != 0)
+ if (RunCmd(S.c_str()) != 0)
{
fprintf(stderr, _("Unpack command '%s' failed.\n"), S.c_str());
fprintf(stderr, _("Check if the 'dpkg-dev' package is installed.\n"));
@@ -562,7 +562,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)
{
fprintf(stderr, _("Build command '%s' failed.\n"), S.c_str());
_exit(1);