aboutsummaryrefslogtreecommitdiff
path: root/aux/lib.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-02 10:33:40 -0300
committerEuAndreh <eu@euandre.org>2023-04-02 16:36:23 -0300
commit22a7b4f0c8e018077984d58476a0c419b5e11942 (patch)
tree0343f0defd1bcea762dcce10b29c8c909661b577 /aux/lib.sh
parentaux/dev.mk: make in parallel over for loop (diff)
downloadremembering-22a7b4f0c8e018077984d58476a0c419b5e11942.tar.gz
remembering-22a7b4f0c8e018077984d58476a0c419b5e11942.tar.xz
aux/checks/repo.sh: WIP Fix tests
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show 22a7b4f0c8e018077984d58476a0c419b5e11942 git notes --ref=refs/notes/ci-data show 22a7b4f0c8e018077984d58476a0c419b5e11942 Exit status: 2 Duration: 7
Diffstat (limited to '')
-rw-r--r--aux/lib.sh5
1 files changed, 3 insertions, 2 deletions
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"
}