This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: making script executable?


>>> "mcmahill" == mcmahill  <mcmahill@mtl.mit.edu> writes:

 mcmahill> I have a shell script which I want to run as part of
 mcmahill> a testsuite.  However when I do a 'make distcheck'
 mcmahill> this script [...] ends up with execute permissions
 mcmahill> turned off.

How does this happen?

Automake uses many shell scripts in its test suite.  They are
all executable and they don't lose their permission bits during
distcheck (AFAIK).

Automake doesn't use `chmod +x' nor `$(SHELL)'.  Anyway these
would be just workarounds, the real problem is why your script
lose its executable bit, not how to set it back.
-- 
Alexandre Duret-Lutz




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]