From 8830782a61a70f9af41399eee3912afbd15dd4dd Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sat, 15 Jun 2019 20:24:12 -0400 Subject: [PATCH] RepositoryRules: Error when the just-built package does not exist. This will make version mismatches between the bootstrap repository and the haikuports.cross repository more apparent. --- build/jam/RepositoryRules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/jam/RepositoryRules b/build/jam/RepositoryRules index 94a75ba16a..7ed3175a7b 100644 --- a/build/jam/RepositoryRules +++ b/build/jam/RepositoryRules @@ -373,6 +373,11 @@ actions BootstrapRepositoryFetchPackage1 --all-dependencies $(HAIKU_PORTER_EXTRA_OPTIONS) \ --cross-devel-package "$haikuCrossDevelPackage" $portSpec fi + + if [ ! -e "$package" ]; then + echo "Supposedly built package $package does not exist; version mismatch?" + exit 1 + fi }