This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: install-sh posix compliance


Hi Clint,

>>> "Clint" == Clint Adams <schizo@debian.org> writes:

 Clint> The install-sh bundled with automake 1.6.2 and earlier
 Clint> versions contains the line

The master copy of install-sh is in Autoconf,
so I'm CCing autoconf@gnu.org.

 Clint>   if [ -f $src -o -d $src ]
 Clint> This is not strictly POSIX-conformant.  

Damn!  Are they removing things between revisions?

 Clint> The line
 Clint>   if [ -f $src ] || [ -d $src ]
 Clint> is compliant and might be more portable.

-- 
Alexandre Duret-Lutz



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]