[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Many missing executable flags for scripts

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: Mon, 26 May 2008 23:35:59 +0200

On Mon, May 26, 2008 at 10:28:35AM +0300, Daniel Shahaf wrote:
> Jens Seidel wrote on Mon, 26 May 2008 at 08:55 +0200:
> > I noticed that many Python scripts (and probably others as well) are
> > missing the svn:executable property. One example is
> > tools/po/l10n-report.py
> > but there are many more ...
> >
> > Does this mean all people are working in Win* instead of Unix?
> >
> > $ tools/po/l10n-report.py
> > bash: tools/po/l10n-report.py: Permission denied
> >
> > $ svn propset svn:executable 1 tools/po/l10n-report.py
>
> +1 to add this property anywhere it's missing (and expected to work on
> unix; win-tests.py doesn't have the property, IIRC). I think it qualifies
> as an "obvious fix".

I fixed this for all Python (*.py) and Shell (*.sh) files in trunk with
a proper Shebang (such as #!/usr/bin/python). See
http://en.wikipedia.org/wiki/Shebang_(Unix).

There are still many files without a Shebang. If these are not
Win* specific one should be added so that such scripts can be started
directly.

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-26 23:37:59 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.