Thread: How...?
View Single Post
Old 09-16-02, 12:04 PM   #10
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Quote:
command not found
command not found
command not found
NVchooser.sh: Line 315: syntax error near unexpected token 'elif'
'Vchooser.sh: Line 315: 'elif' [ \( "$distro" = mdk" -a "$version" -ge 82 \) ]; then
You're seeing this because your NVchooser.sh has extra DOS newlines - did you download and save it on a Win32 machine, then transfer it?

This is easy to fix - there are several ways to get rid of DOS newlines. My personal habit is to open it in 'vi', and type ":set fileformat=unix", ":wq". There are much less complicated ways of doing this, though - a google search should help you to find other tools.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote