Koblinger Egmont <[EMAIL PROTECTED]> writes:
> Hi,
>
> [ I sent this mail two months ago but there was no feedback and it's still
> buggy in 5.0.91. ]
>
>
> The command ``install -D file /tmp/into/this/directory/'' says:
> install: cannot create regular file `/tmp/into/this/directory/': Is a directory
>
> IMHO this is incorrect, I'd expect it to create this directory and install
> the file into it with its original name (just as if I manually created
> this directory and didn't give -D option to ``install'', or repeated the
> filename in the last argument).
Usage: install [OPTION]... SOURCE DEST (1st format)
or: install [OPTION]... SOURCE... DIRECTORY (2nd format)
or: install -d [OPTION]... DIRECTORY... (3rd format)
[...]
-D create all leading components of DEST except the last,
then copy SOURCE to DEST; useful in the 1st format
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N�rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils