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"