From b4d4c2d50a5072b3c80483e6392fc2b686a355b0 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 20 Jan 2022 23:32:37 -0300 Subject: {aux,tests}/lib.sh: Use UUIDs for tmpnames to remove dependency on m4 --- aux/lib.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'aux/lib.sh') diff --git a/aux/lib.sh b/aux/lib.sh index cfb59d7..47e4878 100755 --- a/aux/lib.sh +++ b/aux/lib.sh @@ -13,8 +13,7 @@ uuid() { } tmpname() { - TEMPLATE="${TMPDIR:-/tmp}/m4-tmpname.diacritic á and spaces." - echo 'mkstemp(template)' | m4 -D template="$TEMPLATE" + echo "${TMPDIR:-/tmp}/uuid-tmpname.diacritic á and spaces.$(uuid)" } mkstemp() { -- cgit v1.2.3