mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Use dollar notation instead of legacy backticked
This commit is contained in:
parent
cde089ce9c
commit
d8be168cff
@ -21,7 +21,7 @@ if test -n ${BASH_VERSION:-''} ; then
|
|||||||
R=$RANDOM
|
R=$RANDOM
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
for n in `od -A n -t u2 -N 48 /dev/urandom`; do RL="$RL$n "; done
|
for n in $(od -A n -t u2 -N 48 /dev/urandom); do RL="$RL$n "; done
|
||||||
get_random ()
|
get_random ()
|
||||||
{
|
{
|
||||||
R=${RL%% *}
|
R=${RL%% *}
|
||||||
|
Loading…
Reference in New Issue
Block a user