projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0518fd8
)
(main): Fix -d regression introduced with
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 11 Aug 2004 21:44:36 +0000
(21:44 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 11 Aug 2004 21:44:36 +0000
(21:44 +0000)
--target-directory support at 2004-06-25.
src/install.c
patch
|
blob
|
history
diff --git
a/src/install.c
b/src/install.c
index
c9e1f4d
..
e913cb2
100644
(file)
--- a/
src/install.c
+++ b/
src/install.c
@@
-325,7
+325,7
@@
main (int argc, char **argv)
n_files = argc - optind;
file = argv + optind;
- if (n_files <= !
target_directory
)
+ if (n_files <= !
(dir_arg || target_directory)
)
{
if (n_files <= 0)
error (0, 0, _("missing file operand"));