user [email protected]
usertag 510345 checkbashisms
# Add a version that's been in unstable and will
# therefore be in squeeze
found 510345 2.10.35
retitle 510345 [checkbashisms] Doesn't detect the use of source with no path 
information
thanks

On Wed, 2008-12-31 at 12:59 -0500, Jameson Graef Rollins wrote:
> It appears that checkbashisms does not detect the bash function
> 'source':

It does, but only if it's one of the forms "source ./foo",
"source /foo/bar" or "source $foo". I can't see any obvious reason from
the changelog, that "source bar" isn't flagged, but I'm not currently
sure whether there was a good reason it's not, or simply an omission.

> It appears that Debian Policy 10.4 also does not make a provision for
> this function.

Indeed.

> I must say I'm a bit surprised this hasn't come up before.  Why would
> that be?  Makes me wonder...

Wonder what? Basically, you've found a corner case that's not currently
covered; it's not entirely missing.

Regards,

Adam




-- 
To unsubscribe, send mail to [email protected].

Reply via email to