From 6fb66ecabec5d07ed9955b1c7356c967afed8f50 Mon Sep 17 00:00:00 2001 From: Dave Camp Date: Mon, 19 Aug 2013 20:47:07 -0700 Subject: [PATCH] Bug 901644 - Allow mach build paths to be specified relative to $srcdir; r=gps DONTBUILD (NPOTB) --- python/mozbuild/mozbuild/util.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python/mozbuild/mozbuild/util.py b/python/mozbuild/mozbuild/util.py index b4ae847edcea..4e5a9ee4dcc3 100644 --- a/python/mozbuild/mozbuild/util.py +++ b/python/mozbuild/mozbuild/util.py @@ -175,12 +175,8 @@ def resolve_target_to_make(topobjdir, target): Makefile containing a different Makefile, and an appropriate target. ''' - if os.path.isabs(target): - print('Absolute paths for make targets are not allowed.') - return (None, None) - - target = target.replace(os.sep, '/') + target = target.replace(os.sep, '/').lstrip('/') abs_target = os.path.join(topobjdir, target) # For directories, run |make -C dir|. If the directory does not