From 2caa9bddc34956537d493bbbc2c18101b4600b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tony=20Tk=C3=A1=C4=8Dik?= Date: Thu, 24 Aug 2023 11:06:04 +0200 Subject: [PATCH] Fixed temp files on android --- bin/nuxr-nuxsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/nuxr-nuxsh b/bin/nuxr-nuxsh index 26b1bdd..e3dc22d 100755 --- a/bin/nuxr-nuxsh +++ b/bin/nuxr-nuxsh @@ -143,7 +143,7 @@ if [ -n "$NUX_SCRIPT" ]; then compilefile=$(realpath "$NUX_SCRIPT" | md5sum | cut -d" " -f1) #FIXME: check if nux_cache should be used. - compilefile="/tmp/$compilefile.nuxr.nuxsh" + compilefile="$TMPDIR/$compilefile.nuxr.nuxsh" nux.log debug "Compiled script:" $compilefile nux.nuxsh.use "$NUX_SCRIPT" "$compilefile"; NUX_NO_INCLUDE="no-include"