]> sourceware.org Git - automake.git/commit
Make install-sh work even when names contain spaces or
authorJim Meyering <jim@meyering.net>
Sun, 10 Nov 2002 14:24:00 +0000 (14:24 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 10 Nov 2002 14:24:00 +0000 (14:24 +0000)
commit337133dafb9621a5c4c0a9cc401d8ef26279ee54
treeb038c2713a6372dcf83e3b605a729d72ad99e9ed
parent02706e7334da926807d2b7f476b2ff377add9c93
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.
* tests/installsh2.test: New file, to test for the above fix.
* tests/Makefile.am (TESTS): Add installsh2.test.
ChangeLog
tests/installsh2.test [new file with mode: 0755]
This page took 0.02724 seconds and 5 git commands to generate.