Skip to content
Snippets Groups Projects
Commit 2b440bb8 authored by Javi Merino's avatar Javi Merino
Browse files

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.
parent ffd85ab5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment