[Top][All Lists]

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

Re: dealing with executable shell scripts

From: Miles Bader
Subject: Re: dealing with executable shell scripts
Date: Wed, 21 Mar 2012 16:06:32 +0900

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...]


Cat is power.  Cat is peace.

reply via email to

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