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 --- tests/lib.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/lib.sh b/tests/lib.sh index 0b4bf52..15fe331 100755 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -127,8 +127,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