[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] Keep executability of config.status-ed files v4
From: |
Jan Kratochvil |
Subject: |
Re: [patch] Keep executability of config.status-ed files v4 |
Date: |
Thu, 11 Dec 2003 07:42:25 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi,
On Wed, 10 Dec 2003 23:50:02 +0100, Eric Sunshine wrote:
...
> composite output file. Of course, that fails with this above scheme since
> the net result is that it clones only the execute permission of the very last
>
> file in the ac_file_inputs list. It would probably make more sense to
> instead copy the permission of just the first file in the list
I did not differentiate between 'first', 'last' or 'any' at all.
I just was out of ideas which one of the zillion methods restricting the shell
block execution to a single file would be enough cross-UNIX compatible.
I found out now that 'break' is documented by "Limitations of Shell Builtins"
as compatible, therefore here is a patch copying the permissions of the FIRST
file of $ac_file_inputs.
I always thought I am able to code shell scripts...
Regards,
Lace
autoconf-2.57-keep-exec-v4.patch
Description: Text document
Re: [patch] Keep executability of config.status-ed files v3, Jan Kratochvil, 2003/12/10