fix $TERM bug

This commit is contained in:
Alexander Popov 2022-04-14 18:47:15 +03:00
parent e6ff9066e6
commit f16d4ae0e5

View File

@ -1,5 +1,5 @@
#!/bin/sh
unset LD_PRELOAD
ROOTFS=/home/user/Alpine
exec proot-v5.3.0-x86_64-static --link2symlink -0 -r $ROOTFS -b /dev/ -b /sys/ -b /proc/ -w /home /usr/bin/env TMPDIR=/tmp HOME=/home PREFIX=/usr SHELL=/bin/sh TERM="\$TERM" LANG=en_US.UTF-8 PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/sh --login
exec proot-v5.3.0-x86_64-static --link2symlink -0 -r $ROOTFS -b /dev/ -b /sys/ -b /proc/ -w /home /usr/bin/env TMPDIR=/tmp HOME=/home PREFIX=/usr SHELL=/bin/sh TERM="xterm-256color" LANG=en_US.UTF-8 PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/sh --login