No need to call an external program.
This commit is contained in:
parent
128300f78f
commit
2f53ec82f9
@ -42,8 +42,7 @@ case "$@" in
|
||||
shift
|
||||
esac
|
||||
|
||||
basename=$(basename "$0")
|
||||
tmp=$(mktemp -d "${TMPDIR:-/tmp}/$basename.XXXXXXXXXX") || exit 2
|
||||
tmp=$(mktemp -d "${TMPDIR:-/tmp}/${0##*/}.XXXXXXXXXX") || exit 2
|
||||
trap 'rm -r "$tmp" || exit 2' EXIT
|
||||
|
||||
export LC_ALL=C
|
||||
|
Loading…
Reference in New Issue
Block a user