Skip to content

Commit 0a09077

Browse files
committed
dist.sh: Ensure we don't let a copy of KEYFILE behind
1 parent 12e5dc7 commit 0a09077

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dist.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ cd $(dirname "$0")
5353
if [ -f "$KEYFILE" ]; then
5454
cp "$KEYFILE" .
5555
KEYFILE="$(basename "$KEYFILE")"
56+
trap "rm \"$KEYFILE\"" EXIT
5657
fi
5758

5859
. dist-lib.sh

0 commit comments

Comments
 (0)