diff options
author | Luis Lozano <llozano@chromium.org> | 2013-04-03 11:33:11 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-03 16:34:45 -0700 |
commit | 646ae43ef2983d7ace40fe33c46244bed3c255de (patch) | |
tree | da4e779e47a951805551b33b4c77c643af0c5bcf /remote_gcc_build.py | |
parent | 2c4b2a1fb608ec840126e693faecb390e95356b2 (diff) | |
download | toolchain-utils-646ae43ef2983d7ace40fe33c46244bed3c255de.tar.gz |
Fixed a couple of minor issues in the handling of "patch" and "branch" options
BUG=None
TEST=Verified the options work as expected
Change-Id: Ib3e41c6499d5102d8f44c16bafb1b1eafc8184f1
Reviewed-on: https://gerrit-int.chromium.org/34996
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Diffstat (limited to 'remote_gcc_build.py')
-rwxr-xr-x | remote_gcc_build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote_gcc_build.py b/remote_gcc_build.py index 80ce0c5a..0f6f7dc1 100755 --- a/remote_gcc_build.py +++ b/remote_gcc_build.py @@ -386,13 +386,13 @@ def Main(argv): args = parser.parse_args(argv[1:]) target = args.target - patch = args.patch.split() + patch = args.patch.split(",") chromeos_root = misc.CanonicalizePath(args.chromeos_root) branch = args.branch # descritption is the keyword of the build in build log. # Here we use [{branch)_{patchnumber}_{target}] description = "{0}_{1}_{2}".format(branch, GetPatchString(patch), target) - if args.chromeos_version and args.branch: + if args.chromeos_version and args.branch != "master": raise Exception("You can not set chromeos_version and branch at the " "same time.") chromeos_version = args.chromeos_version |