From: Zac Medico Date: Tue, 3 Sep 2013 19:43:12 +0000 (-0700) Subject: install.py: show args if copy_xattrs fails X-Git-Tag: v2.2.2~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=356abf4adb756362ef6f207cbaa47915eb12e494;p=portage.git install.py: show args if copy_xattrs fails --- diff --git a/bin/install.py b/bin/install.py index 1f5621283..2c6dfbe96 100755 --- a/bin/install.py +++ b/bin/install.py @@ -8,6 +8,7 @@ import sys import subprocess import traceback +import portage from portage.util._argparse import ArgumentParser from portage.util.movefile import _copyxattr from portage.exception import OperationNotSupported @@ -241,6 +242,10 @@ def main(args): returncode = subprocess.call(cmdline) if returncode == os.EX_OK: returncode = copy_xattrs(opts, files) + if returncode != os.EX_OK: + portage.util.writemsg("!!! install: copy_xattrs failed with the " + "following arguments: %s\n" % + " ".join(portage._shell_quote(x) for x in args), noiselevel=-1) return returncode