Wed, 19 May 2010 18:06:35 +0200 Fixed a bashism with the use of $RANDOM in hgeditor.
Javi Merino <cibervicho@gmail.com> [Wed, 19 May 2010 18:06:35 +0200] rev 11266
Fixed a bashism with the use of $RANDOM in hgeditor. The variable $RANDOM is not POSIX so a portable /bin/sh may not define it. When creating a directory with a random name it's better to use mktemp, which, even though is not POSIX, exists in common Unixes including Linux, OpenBSD, FreeBSD and MacOS X.
(0) -10000 -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip