diff options
Diffstat (limited to 'aux/lib.sh')
-rwxr-xr-x | aux/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,12 +8,12 @@ uuid() { # Taken from: # https://serverfault.com/a/799198 od -xN20 /dev/urandom | - head -1 | + head -n1 | awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}' } tmpname() { - echo 'mkstemp(template)' | m4 -D template="${TMPDIR:-/tmp}/m4-tmpname." + echo "${TMPDIR:-/tmp}/uuid-tmpname with spaces.$(uuid)" } mkstemp() { |