automake
[Top][All Lists]
Advanced

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

Re: dealing with executable shell scripts


From: NightStrike
Subject: Re: dealing with executable shell scripts
Date: Wed, 21 Mar 2012 13:12:56 -1000

On Tue, Mar 20, 2012 at 9:06 PM, Miles Bader <address@hidden> wrote:
> 2012年3月21日13:13 NightStrike <address@hidden>:
>> Here's a better question.  How do you insure that your current file is
>> executable?  Do it the same way.
>
> Er .... "cp $< $@ && chmod +x $@" ... :]
>
> [Relying on source-code execute bits always being correctly maintained
> is one of those things that ... well... doesn't really feel very
> robust.  I dunno, maybe it's just me...]

$(INSTALL) will take care of that, but that's not the permissions of
the script in the source code directory, which is what you asked
about.



reply via email to

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