소스 검색

fail installing build-deps if parsing them failed

Git-Dch: Ignore
David Kalnischkies 10 년 전
부모
커밋
5f1b8fadbb
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apt-private/private-source.cc

+ 1 - 1
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;
 }