[Python-apps-team] Bug#581122: mercurial-common: bashism in /bin/sh script

Raphael Geissert atomo64 at gmail.com
Wed May 12 22:52:49 UTC 2010


Hi,

On Tuesday 11 May 2010 03:44:19 Javi Merino wrote:
> Hi, I think the attached patch fixes the bashism by creating a function
> that returns a random number instead of relying on the $RANDOM magic
> variable.
> 

Thanks for working on fixing it so fast.

About the patch: using mktemp(1) would be even better, as it does the right 
thing (randomness, temp files location, file creation, etc.)

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net





More information about the Python-apps-team mailing list