From: Zac Medico Date: Tue, 30 Jul 2013 22:25:49 +0000 (-0700) Subject: install.py: handle zero file arguments (--help) X-Git-Tag: v2.2.0_alpha192~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6df1eac93a0dc6f460bb2b38070184e355b35ea0;p=portage.git install.py: handle zero file arguments (--help) --- diff --git a/bin/install.py b/bin/install.py index b194941b4..1f5621283 100755 --- a/bin/install.py +++ b/bin/install.py @@ -160,7 +160,7 @@ def copy_xattrs(opts, files): Returns: system exit code """ - if opts.directory: + if opts.directory or not files: return os.EX_OK if opts.target_directory is None: