Merge revision 1329 and revision 1330 changes:

- Fix script detection of git checkouts.

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1453@1334 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-07-22 23:48:13 +00:00
parent f34ca16195
commit 32d2876d49
3 changed files with 15 additions and 6 deletions

View File

@ -27,6 +27,10 @@ parser.add_option('-q', '--quiet',
# The CEF root directory is the parent directory of _this_ script.
cef_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
if not os.path.exists(os.path.join(cef_dir, '.svn')):
sys.stdout.write("Not an SVN checkout.\n")
sys.exit(0)
# Retrieve the CEF SVN info.
cef_info = get_svn_info(cef_dir)
if not options.quiet: