Never mind ( was Re: /etc/profile syntax error?)

Tom Black tcblack at wireless111.net
Sat Apr 24 09:53:44 PDT 2004


Tom Black wrote:
> LFS 5.0 system- just completed.
> I cut and pasted the /etc/profile right out of the book, and now when I 
> log in I get:
> Last login: Fri Apr 23 23:24:19 2004
> -bash: /etc/profile: line 14: syntax error near unexpected token `then'
> -bash: /etc/profile: line 14: `.if ! echo $PATH | /bin/egrep -q 
<SNIP>
> Besides the indents, everything is identical.
> 
No I realize, it isn't identical.  I fixed it by getting rid of the 
periods at the start.  Not sure how they got there but it works now :-)

-- 
Thomas Black
Linux Tutored by LFS 5.0
http://wr189.wireless111.com

Linux From Scratch:.˜./V\//†\\/(   )\^`˜´^
     .˜.
     /V\
    //†\\
   /(   )\
    ^`˜´^



More information about the blfs-support mailing list