From 39e6c98bedc07f6d6195b0643ef42d58c575354c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 28 Jun 2018 13:15:06 -0600 Subject: [PATCH] update tmpdir --- usr/share/install_helper.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index c907eb0..c8a1b40 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -108,7 +108,9 @@ else fi TELEBIT_PATH="$TELEBIT_REAL_PATH" TELEBIT_TMP="$TELEBIT_REAL_PATH" -my_tmp="$(mktemp -d)" +# this works slightly differently between bsd (macOS) and gnu mktemp +# bsd requires the Xes for templates while GNU uses them literally +my_tmp="$(mktemp -d -t telebit.XXXXXXXX)" #TELEBIT_TMP="$my_tmp/telebit" echo "Installing $my_name to '$TELEBIT_REAL_PATH'"