compatibility and portability changes from test

svn path=/trunk/; revision=34953
This commit is contained in:
2017-01-18 19:29:15 +00:00
parent 0bf374f9f2
commit 19853ef064
4 changed files with 18 additions and 15 deletions

View File

@@ -21,6 +21,8 @@ forcelog(){
[ "$(logname "$name")" = "/dev/null" ] \
&& forcedlog="$forcedlog\n${name}=$(tempfile -p w3bld -s $$)"
}
[ -z "$USER" ] && USER="$(whoami)"
trap "trap - 0 2 3 6 9 15; find \"${TMPDIR:-/tmp}/\" -maxdepth 1 -user \"$USER\" -name \"w3bld*$$\" -delete" 0 2 3 6 9 15
logstatus(){