aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-05-14 12:18:02 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-05-14 12:18:02 +0200
commit99d8d9e0336bacebab5af4ae00c3f685ffd90f60 (patch)
treeca68ffe5bf52de9aa33d7269975aced17aa58cb6
parent5ada88d0d3e25587a1340cc35669c36f608a50db (diff)
downloadgana-99d8d9e0336bacebab5af4ae00c3f685ffd90f60.tar.gz
gana-99d8d9e0336bacebab5af4ae00c3f685ffd90f60.zip
use of mktemp not portable
-rwxr-xr-xformat.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.sh b/format.sh
index 4e041e3..1cdee4f 100755
--- a/format.sh
+++ b/format.sh
@@ -40,7 +40,7 @@ if [ x"$2" = x ] ; then : ; else
40fi 40fi
41 41
42if [ "$selexp" ] ; then 42if [ "$selexp" ] ; then
43 t=$(mktemp -p .) 43 t=$(mktemp)
44 trap "rm -f $t" EXIT 44 trap "rm -f $t" EXIT
45 recsel -e "$selexp" > $t && 45 recsel -e "$selexp" > $t &&
46 recfmt -f "$template" < $t 46 recfmt -f "$template" < $t