[Libreoffice] [PATCH] removing the executable mode from some source files

Michael Meeks michael.meeks at novell.com
Fri Mar 25 15:26:53 PDT 2011

Hi Saito,

On Fri, 2011-03-25 at 14:50 -0300, saito wrote:
> I discovered what is wrong with the perl files that dows not uses
> shebangs. The perl file postprocess/rebase.pl is a valid executable
> script, but it does not uses shebang.

Right - it uses this env trick to avoid hard-coding the path of perl
which varies cross-platform.

> So I changed my script to search for "\ script" using "grep" and
> "file" commands and no more file type (extensions) exclusion patterns.

	It seems to mis-categorise a number of things:


	But - wow, there a ton of mis-categorised files :-) if you can instead
get a list of known-good mis-categorised files as a text file that we
can just pass to "xargs chmod a-x" that we are certain are wrong - then
we can iterate towards fixing the others too.

	So - as a start, just listing all the simple file types
eg. .oxt, .sxw, .xls, .bas files etc. that are mis-tagged would be
really useful - and lets get that lot fixed & committed.

	Thanks !


 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list