replace tempfile by mktemp which is available on other distros than Debian
This commit is contained in:
@@ -19,7 +19,7 @@ forcelog(){
|
||||
name="$1"
|
||||
|
||||
[ "$(logname "$name")" = "/dev/null" ] \
|
||||
&& forcedlog="$forcedlog\n${name}=$(tempfile -p w3bld -s $$)"
|
||||
&& forcedlog="$forcedlog\n${name}=$(mktemp -p w3bld -s $$)"
|
||||
}
|
||||
|
||||
[ -z "$USER" ] && USER="$(whoami)"
|
||||
|
||||
Reference in New Issue
Block a user