When invoked with "-s", `install' executes `strip' in order to strip the installed file. However, if the file can't be stripped (for example, if it is a shell script), `strip' will return an exit code != 0 which make `install' delete the destination file. `install' will return exit code 0 nevertheless. (The file installs OK when "-s" is omitted.) I believe that `install' should silently ignore failure codes returned by `strip' and should not delete the destination file. How-To-Repeat: Here's a typescript: olymp:~> echo baz > foo olymp:~> install -c -s foo bar strip: bar: Inappropriate file type or format olymp:~> cat bar cat: bar: No such file or directory olymp:~> install -c foo bar olymp:~> cat bar baz
State Changed From-To: open->closed Suggested fix applied in rev 1.2 of xinstall.c.