-exec > >(tee -a $HOME/termux/_buildall/ALL.out)
-exec 2> >(tee -a $HOME/termux/_buildall/ALL.err >&2)
-trap 'echo failure; echo See: $HOME/termux/_buildall/${package}.err' ERR
+exec > >(tee -a $TERMUX_TOPDIR/_buildall/ALL.out)
+exec 2> >(tee -a $TERMUX_TOPDIR/_buildall/ALL.err >&2)
+trap 'echo failure; echo See: $TERMUX_TOPDIR/_buildall/${package}.err' ERR