lxsh/shellcode/random_tmpfile.sh

3 lines
81 B
Bash

__lxsh_random_tmpfile() {
echo "${TMPDIR-/tmp}/$1$(__lxsh_random_string 20)"
}