mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
afterlfs: remove trailing spaces, and fix two obvious "- -"
This commit is contained in:
parent
46b05a0832
commit
59350d1c7b
@ -100,7 +100,7 @@
|
|||||||
function mountbind
|
function mountbind
|
||||||
{
|
{
|
||||||
if ! mountpoint $LFS/$1 >/dev/null; then
|
if ! mountpoint $LFS/$1 >/dev/null; then
|
||||||
$SUDO mount - -bind /$1 $LFS/$1
|
$SUDO mount --bind /$1 $LFS/$1
|
||||||
echo $LFS/$1 mounted
|
echo $LFS/$1 mounted
|
||||||
else
|
else
|
||||||
echo $LFS/$1 already mounted
|
echo $LFS/$1 already mounted
|
||||||
@ -167,7 +167,7 @@ EOF</command></screen>
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><command>alias lfs='sudo /usr/sbin/chroot /mnt/lfs /usr/bin/env -i HOME=/root TERM="$TERM" PS1="\u:\w\\\\$ "
|
<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>
|
<para>
|
||||||
This alias is a little tricky because of the quoting and levels of
|
This alias is a little tricky because of the quoting and levels of
|
||||||
|
Loading…
Reference in New Issue
Block a user