From b30bb192825fbc4f35225aa2334655b4ba7329f5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 28 Oct 2011 20:20:29 -0700 Subject: Use EROOT to validate path arguments. --- bin/portageq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/portageq b/bin/portageq index 40cc21d27..66f6509d7 100755 --- a/bin/portageq +++ b/bin/portageq @@ -271,7 +271,7 @@ def owners(argv): return 2 f = os.path.join(cwd, f) f = portage.normalize_path(f) - if not is_basename and not f.startswith(root): + if not is_basename and not f.startswith(eroot): sys.stderr.write("ERROR: file paths must begin with !\n") sys.stderr.flush() return 2 -- cgit v1.2.3-1-g7c22