mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
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
This commit is contained in:
parent
a8860e4572
commit
af35e5c5f0
@ -174,6 +174,7 @@ def _CheckSaneArguments(package_list, command):
|
|||||||
_PrintUsageAndDie('Please specify a board')
|
_PrintUsageAndDie('Please specify a board')
|
||||||
if not os.path.isdir(gflags.FLAGS.srcroot):
|
if not os.path.isdir(gflags.FLAGS.srcroot):
|
||||||
_PrintUsageAndDie('srcroot is not a valid path')
|
_PrintUsageAndDie('srcroot is not a valid path')
|
||||||
|
gflags.FLAGS.srcroot = os.path.abspath(gflags.FLAGS.srcroot)
|
||||||
|
|
||||||
|
|
||||||
def _Clean():
|
def _Clean():
|
||||||
|
Loading…
Reference in New Issue
Block a user