From af35e5c5f01a60bcc9defbf05ab33ae85651be0d Mon Sep 17 00:00:00 2001 From: David James Date: Tue, 26 Oct 2010 15:17:48 -0700 Subject: [PATCH] Update srcroot to be an absolute path. This is required so that paths still work after we change directories. Currently our branch builder uses this broken recipe :( BUG=none TEST=Check that "./cros_mark_as_stable.py -r .. clean" cleans both the private overlay and chromiumos-overlay Change-Id: Ie4047fb091bf7af36dc28482ea73b085ec12893c Review URL: http://codereview.chromium.org/4175004 --- cros_mark_as_stable.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py index 3df9181744..da017ad7af 100755 --- a/cros_mark_as_stable.py +++ b/cros_mark_as_stable.py @@ -174,6 +174,7 @@ def _CheckSaneArguments(package_list, command): _PrintUsageAndDie('Please specify a board') if not os.path.isdir(gflags.FLAGS.srcroot): _PrintUsageAndDie('srcroot is not a valid path') + gflags.FLAGS.srcroot = os.path.abspath(gflags.FLAGS.srcroot) def _Clean():