From 20ffc105e8d8d4bfd008c9861dbc30a06f020aa1 Mon Sep 17 00:00:00 2001 From: Alex Ameen Date: Sat, 30 Dec 2023 09:33:07 -0600 Subject: [PATCH] fix: drop mktmp_auto from 'ccjs add' --- src/sh-scripts/ccjs/add.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sh-scripts/ccjs/add.bash b/src/sh-scripts/ccjs/add.bash index b95de94..f9d6252 100644 --- a/src/sh-scripts/ccjs/add.bash +++ b/src/sh-scripts/ccjs/add.bash @@ -139,7 +139,7 @@ if ! [[ -f "$CCJS_OUT" ]]; then echo "[$_ENTRY]" > "$CCJS_OUT"; else #shellcheck disable=SC2119 - TMPFILE="$( mktmp_auto; )"; + TMPFILE="$( $MKTEMP; )"; _es=0; trap '_es="$?"; rm -f "$TMPFILE"; exit "$_es";' HUP TERM INT QUIT EXIT;