[Top][All Lists]
[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.
- Re: dealing with executable shell scripts, (continued)
- Re: dealing with executable shell scripts, Miles Bader, 2012/03/20
- Re: dealing with executable shell scripts, NightStrike, 2012/03/21
- Re: dealing with executable shell scripts, Miles Bader, 2012/03/21
- Re: dealing with executable shell scripts, Russ Allbery, 2012/03/21
- Re: dealing with executable shell scripts, Bob Friesenhahn, 2012/03/21
- Re: dealing with executable shell scripts, Russ Allbery, 2012/03/21
- Re: dealing with executable shell scripts, Miles Bader, 2012/03/22
- Re: dealing with executable shell scripts, NightStrike, 2012/03/22
- Re: dealing with executable shell scripts, Miles Bader, 2012/03/22
- Re: dealing with executable shell scripts, Nick Bowler, 2012/03/22
- Re: dealing with executable shell scripts,
NightStrike <=
Re: dealing with executable shell scripts, Nick Bowler, 2012/03/20