Make install-sh work even when names contain spaces or
authorJim Meyering <jim@meyering.net>
Sun, 10 Nov 2002 14:26:15 +0000 (14:26 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 10 Nov 2002 14:26:15 +0000 (14:26 +0000)
commit9f68ee5c70a01c90a9f97f4b3201a38c36ab9f6c
treea9b40247041f8720e88097a75d0e0f7a9360113a
parent5fa44648fbe4f1f0e3daf3a791ce09696cadbba1
Make install-sh work even when names contain spaces or
certain (but not all) shell metachars.

* lib/install-sh: Remove lots of unnecessary quoting.
Add double quotes where necessary.
Write diagnostics to stderr, not stdout.
Normalize spacing in diagnostics: use one space (not two,
and not a TAB) after the leading `install:'.
Remove trailing white space.
Remove unnecessary curly braces.
If removing the destination fails, also try to move it aside.
Use `trap' more portably.
lib/install-sh