commit 4d5803cfbe98595a609cb2f1ad0b4bb91baa9147
parent edd57af862bebb737e9e1d703bb642ebec7207d2
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed,  4 May 2022 23:34:12 +0200
use mktemp
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/add.sh b/add.sh
@@ -18,7 +18,7 @@ then
   exit 1
 fi
 
-TEMPFILE=$(tempfile)
+TEMPFILE=$(mktemp)
 cat > $TEMPFILE
 
 # get_email_header command from https://a3nm.net/git/mybin
diff --git a/delete.sh b/delete.sh
@@ -6,7 +6,7 @@
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR"
 
-TEMPFILE=$(tempfile)
+TEMPFILE=$(mktemp)
 cat > $TEMPFILE
 
 # get_email_header command from https://a3nm.net/git/mybin
diff --git a/show.sh b/show.sh
@@ -6,7 +6,7 @@
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 cd "$DIR"
 
-TEMPFILE=$(tempfile)
+TEMPFILE=$(mktemp)
 cat > $TEMPFILE
 
 # get_email_header command from https://a3nm.net/git/mybin