From 356abf4adb756362ef6f207cbaa47915eb12e494 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 3 Sep 2013 12:43:12 -0700 Subject: [PATCH] install.py: show args if copy_xattrs fails --- bin/install.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.26.2