buildorder.py: Show package if lacking build.sh
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 2 Jun 2016 15:13:53 +0000 (11:13 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 2 Jun 2016 15:13:53 +0000 (11:13 -0400)
scripts/buildorder.py

index b658153..7bebd41 100755 (executable)
@@ -72,7 +72,7 @@ class TermuxPackage(object):
         # search package build.sh
         build_sh_path = os.path.join(self.dir, 'build.sh')
         if not os.path.isfile(build_sh_path):
-            raise Exception("build.sh not found")
+            raise Exception("build.sh not found for package '" + name + "'")
 
         self.buildfile = TermuxBuildFile(build_sh_path)
         self.deps = self.buildfile._get_dependencies()