afterlfs: remove trailing spaces, and fix two obvious "- -"

This commit is contained in:
Xi Ruoyao 2022-09-17 20:36:13 +08:00
parent 46b05a0832
commit 59350d1c7b
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -100,7 +100,7 @@
function mountbind
{
if ! mountpoint $LFS/$1 >/dev/null; then
$SUDO mount - -bind /$1 $LFS/$1
$SUDO mount --bind /$1 $LFS/$1
echo $LFS/$1 mounted
else
echo $LFS/$1 already mounted
@ -167,7 +167,7 @@ EOF</command></screen>
</para>
<screen><command>alias lfs='sudo /usr/sbin/chroot /mnt/lfs /usr/bin/env -i HOME=/root TERM="$TERM" PS1="\u:\w\\\\$ "
PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash - -login'</command></screen>
PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login'</command></screen>
<para>
This alias is a little tricky because of the quoting and levels of