diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-06-05 12:08:34 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2010-06-05 12:08:34 (GMT) |
commit | 021711fc19e8f0d76e231467103e4d240963a986 (patch) | |
tree | 6d3f02ff42a34dde9e9c87eaebdfce51e19acf14 | |
parent | 0fb7d638520c061a476dfb599ccdea7014ca6ce8 (diff) |
exit if cloning JHBuild fails
-rwxr-xr-x | sugar-jhbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild index 41c6e3a..5d4c81a 100755 --- a/sugar-jhbuild +++ b/sugar-jhbuild @@ -53,6 +53,7 @@ else: retcode = subprocess.call(['git', 'clone', jhbuild_repo]) if retcode: print 'Failed to clone upstream jhbuild.' + sys.exit(retcode) os.chdir(cwd) |