From 7fc8f52c8d1132e85fe2e9008eb7daddb5e9840b Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Fri, 8 Jul 2022 11:39:53 +0200 Subject: [PATCH] allow to set a different tmp directory for generated startup script --- iocsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocsh b/iocsh index d2a3d6b..d7d9383 100755 --- a/iocsh +++ b/iocsh @@ -407,7 +407,7 @@ do done } -startup=/tmp/iocsh.startup.$$ +startup=${IOCSH_TMP:-/tmp}/iocsh.startup.$$ # clean up and kill the softIoc when killed by any signal cleanup() {