I've tried to use rmate on Termux (Terminal Emulator for Android) but I ran into the problem that the /tmp folder is not writable for the default user (not using a rooted phone). However $TMPDIR is set and appears to be the default environment variable to hold the name of the system's temporary directory. That said, I modified the code to use that and - if not set - fall back to /tmp.
Hey there,
I've tried to use
rmate
on Termux (Terminal Emulator for Android) but I ran into the problem that the/tmp
folder is not writable for the default user (not using a rooted phone). However$TMPDIR
is set and appears to be the default environment variable to hold the name of the system's temporary directory. That said, I modified the code to use that and - if not set - fall back to/tmp
.Hope that's okay. :)