blob: 153d8e5bb58fc60e781322a954f2497ca85a3dcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/bin/htrace.sh b/bin/htrace.sh
index 125f078..549bdc5 100755
--- a/bin/htrace.sh
+++ b/bin/htrace.sh
@@ -74,8 +74,8 @@ readonly _rel="${_init_directory}/.."
# shellcheck disable=SC2154
readonly _src="${_rel}/src"
readonly _lib="${_rel}/lib"
-readonly _tmp="${_rel}/tmp"
-readonly _log="${_rel}/log"
+readonly _tmp="$(mktemp -d)"
+readonly _log="/tmp/htrace.sh-log"
# shellcheck disable=SC1090
source "${_src}/../config"
|