From 5f1b8fadbba7108ba20bd07c7479eb5e5704308e Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 30 Dec 2015 21:51:17 +0100 Subject: fail installing build-deps if parsing them failed Git-Dch: Ignore --- apt-private/private-source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-private') diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc index 52487248f..a2621946a 100644 --- a/apt-private/private-source.cc +++ b/apt-private/private-source.cc @@ -1041,7 +1041,7 @@ bool DoBuildDep(CommandLine &CmdL) return false; } - if (InstallPackages(Cache, false, true) == false) + if (_error->PendingError() || InstallPackages(Cache, false, true) == false) return _error->Error(_("Failed to process build dependencies")); return true; } -- cgit v1.2.3-70-g09d2