bug-gnulib
[Top][All Lists]
Advanced

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

Re: install-sh -s on readonly file


From: Paul Eggert
Subject: Re: install-sh -s on readonly file
Date: Sun, 25 Aug 2019 19:13:00 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Karl Berry wrote:
-    { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+    { test -z "$stripcmd" || ($doit $chmodcmd u+w "$dsttmp"; $doit $stripcmd 
"$dsttmp") } &&

How about the attached Automake patch instead? It avoids the extra forks and exec. Admittedly it's longer.

Attachment: 0001-install-sh-support-s-with-read-only-source.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]