GNU bug report logs - #15376
install-sh -t accepts arguments that are not a directory

Previous Next

Package: automake;

Reported by: Tobias Hansen <thansen <at> debian.org>

Date: Fri, 13 Sep 2013 23:41:01 UTC

Severity: minor

Tags: patch

Found in version 1.14

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Hansen <thansen <at> debian.org>
To: bug-automake <at> gnu.org
Subject: install-sh -t accepts arguments that are not a directory
Date: Sat, 14 Sep 2013 01:06:25 +0200
[Message part 1 (text/plain, inline)]
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
[install-sh_t_check_directory.patch (text/x-diff, attachment)]

This bug report was last modified 11 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.