From d1121442932791e507f44328696783bc174c0fa7 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 10 Oct 2018 23:23:10 -0400 Subject: [PATCH] fix: correct issue where temp help output files were being placed in incorrect directory --- help-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help-functions b/help-functions index f87209c..6752433 100755 --- a/help-functions +++ b/help-functions @@ -76,7 +76,7 @@ fn-help-contents() { fn-help-contents-subcommand() { declare SUBCOMMAND="$1" FULL_OUTPUT="$2" local TMPDIR=$(mktemp -d) - local UNCLEAN_FILE="${TMPDIR}cmd-unclean" CLEAN_FILE="${TMPDIR}cmd-clean" + local UNCLEAN_FILE="${TMPDIR}/cmd-unclean" CLEAN_FILE="${TMPDIR}/cmd-clean" local BOLD CMD_OUTPUT CYAN EXAMPLE LIGHT_GRAY NORMAL trap 'rm -rf "$TMPDIR" > /dev/null' RETURN INT TERM EXIT