From 6df1eac93a0dc6f460bb2b38070184e355b35ea0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 30 Jul 2013 15:25:49 -0700 Subject: [PATCH] install.py: handle zero file arguments (--help) --- bin/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2