bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15376: install-sh -t accepts arguments that are not a directory


From: Tobias Hansen
Subject: bug#15376: install-sh -t accepts arguments that are not a directory
Date: Sat, 14 Sep 2013 01:06:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130704 Icedove/17.0.7

Version: 1.14
Tags: patch

Hi automake maintainers,

the -t parameter of install-sh is supposed to accept a target directory.
If it is given a file or a name of a non-existent file/directory, the
source is copied into this file. For example, if I have a file foo and do

install-sh -t foo2 foo

I will have the two files foo and foo2. install-sh should abort whenever
the argument of the -t option is not a directory, just like install
does. Attached is a patch that fixes the issue.

Best regards,
Tobias Hansen

Attachment: install-sh_t_check_directory.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]