Skip to content

Commit

Permalink
fix: drop mktmp_auto from 'ccjs add'
Browse files Browse the repository at this point in the history
  • Loading branch information
aakropotkin committed Dec 30, 2023
1 parent 4a14474 commit 20ffc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sh-scripts/ccjs/add.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 20ffc10

Please sign in to comment.