Re: [patch] Keep executability of config.status-ed files v4

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

 



Hi,

On Thu, 11 Dec 2003 15:25:59 +0100, Paul Jarc wrote:
> Jan Kratochvil <rcpt-autoconf.AT.gnu.org@xxxxxxxxxxxxxxxxx> wrote:
> > +    for f in $ac_file_inputs; do
> > +      cp $f $ac_file
> > +      chmod u+w $ac_file
> > +      break
> > +    done
> 
> Rather than use the permissions of one input file for all output
> files, couldn't you use the permissions of each input file for its
> corresponding output file?  That's what I do in a similar situation.

In all regular cases it will be just a single file:

	ac_file_inputs="$ac_file.in"

This issue of multiple input files can happen only occasionally when you use:

#     You can override an input file name by appending to FILE a
#     colon-separated list of input files.  Examples:
#
#          AC_CONFIG_FILES([Makefile:boiler/top.mk:boiler/bot.mk]
#                          [lib/Makefile:boiler/lib.mk])


Regards,
Lace



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux