Browse Source

fix parameters of mktemp

tags/stw2018
Max Mehl 1 year ago
parent
commit
fdcb325c1f
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      build/logging.sh

+ 1
- 1
build/logging.sh View File

@@ -19,7 +19,7 @@ forcelog(){
name="$1"

[ "$(logname "$name")" = "/dev/null" ] \
&& forcedlog="$forcedlog\n${name}=$(mktemp -p w3bld -s $$)"
&& forcedlog="$forcedlog\n${name}=$(mktemp -t w3bldXXXXXXXXX --suffix $$)"
}

[ -z "$USER" ] && USER="$(whoami)"

Loading…
Cancel
Save