[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] Keep executability of config.status-ed files v3
From: |
Bob Friesenhahn |
Subject: |
Re: [patch] Keep executability of config.status-ed files v3 |
Date: |
Wed, 10 Dec 2003 16:03:49 -0600 (CST) |
On Wed, 10 Dec 2003, Jan Kratochvil wrote:
>
> I rewrote those several lines of code - does it look OK now?
> It appears to execute fine.
dnl mv $tmp/out $ac_file
dnl fi
if test x"$ac_file" != x-; then
- mv $tmp/out $ac_file
+ rm -f $ac_file
+dnl Keep 'executable' attribute.
+ for f in $ac_file_inputs; do
+ cp $f $ac_file
+ chmod u+w $ac_file
+ done
+ cat $tmp/out >$ac_file
What is the loop supposed to do? It seems to be copying all of the
files listed in $ac_file_inputs to just one file name. Surely that is
not what you want?
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen
- Re: [patch] Keep executability of config.status-ed files, (continued)
- Re: [patch] Keep sanity in autotools, Bruce Korb, 2003/12/10
- Re: [patch] Keep sanity in autotools, Eric Sunshine, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Siegerman, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Daniel Jacobowitz, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Sunshine, 2003/12/10
- Re: [patch] Keep executability of config.status-ed files, Eric Siegerman, 2003/12/10
Re: [patch] Keep executability of config.status-ed files v3, Jan Kratochvil, 2003/12/10