diff --git a/slpkg/pkg/build.py b/slpkg/pkg/build.py index 2cbf1804..52347138 100644 --- a/slpkg/pkg/build.py +++ b/slpkg/pkg/build.py @@ -101,9 +101,9 @@ class BuildPackage(object): self.prgnam, sum_time)) else: subprocess.call("{0} ./{1}.SlackBuild".format( - " ".join(pass_var), self.prgnam, shell=True)) + " ".join(pass_var), self.prgnam), shell=True) os.chdir(self.path) - except (OSError, IOError): + except KeyboardInterrupt: # (OSError, IOError): self.msg.pkg_not_found("\n", self.prgnam, "Wrong file", "\n") def _create_md5_dict(self):