[PATCH] magic for Bash scripts called by env
Nicolas Goutte
nicolasg at snafu.de
Mon Jan 16 11:24:26 GMT 2006
The attached patch is for kdelibs/kio/magic
It adds patterns for
#! /usr/bin/env bash
and similar (the 4 variants for env are the same than for the patterns for
Perl and Python).
I suppose that this patch should be committed for KDE 3.5.1 and for KDE 4,
as we have now many scripts declared that way in KDE's source.
What I am not sure is if similar patterns should be added for other common
shells (even for ash perhaps)? I suppose however that it is not needed for
sh.
Also if for KDE4, something needs to be done at freedesktop.org, I would be
glad if somebody else could do it. (Thank you!)
Have a nice day!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_env_bash_magic.diff
Type: text/x-diff
Size: 762 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060116/b047cd47/attachment.diff>
More information about the kde-core-devel
mailing list