aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--aux/containers/guix/manifest.scm1
-rwxr-xr-xaux/lib.sh3
-rwxr-xr-xtests/lib.sh3
3 files changed, 2 insertions, 5 deletions
diff --git a/aux/containers/guix/manifest.scm b/aux/containers/guix/manifest.scm
index cf9a6d7..32e4418 100644
--- a/aux/containers/guix/manifest.scm
+++ b/aux/containers/guix/manifest.scm
@@ -6,7 +6,6 @@
diffutils
grep
sed
- m4
git
tar
gawk
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() {
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() {