1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Fixed temp files on android

This commit is contained in:
Tony Tkáčik 2023-08-24 11:06:04 +02:00
parent 05c2e0d2e0
commit 2caa9bddc3

View file

@ -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"