From 22a7b4f0c8e018077984d58476a0c419b5e11942 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 2 Apr 2023 10:33:40 -0300 Subject: aux/checks/repo.sh: WIP Fix tests --- aux/lib.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'aux/lib.sh') diff --git a/aux/lib.sh b/aux/lib.sh index f168294..1d7dabe 100644 --- a/aux/lib.sh +++ b/aux/lib.sh @@ -21,7 +21,8 @@ uuid() { } tmpname() { - printf '%s/uuid-tmpname with spaces.%s' "${TMPDIR:-/tmp}" "$(uuid)" + # printf '%s/uuid-tmpname with spaces.%s' "${TMPDIR:-/tmp}" "$(uuid)" + printf '%s/uuid-tmpname-without-spaces.%s' "${TMPDIR:-/tmp}" "$(uuid)" } mkstemp() { @@ -32,6 +33,6 @@ mkstemp() { mkdtemp() { name="$(tmpname)" - mkdir -- "$name" + mkdir -p -- "$name" printf '%s' "$name" } -- cgit v1.2.3