From 08588f9907299b1a927e281d5c65b46b7cefa427 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 4 Apr 2023 08:33:41 -0300 Subject: Revamp v2/ --- src/bin/pb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/bin/pb b/src/bin/pb index efbf8fc..48979e2 100755 --- a/src/bin/pb +++ b/src/bin/pb @@ -134,8 +134,8 @@ SLUG="${SLUG:-$(echo "$TITLE" | slugify)}" OUT="$(outname "$DATE" "$SLUG")" URL="$(url "$DATE" "$SLUG")" -# shellcheck disable=2064 -trap "rm -f '$OUT-tmp'" EXIT +trap 'rm -f "$OUT-tmp"' EXIT +# shellcheck disable=2016 cat <<-EOF | e > "$OUT-tmp" --- -- cgit v1.2.3