LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2013, 01:37 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
dracut gives error on make: modules.d/80cms/cmssetup.sh: line 60: syntax error near


dracut gives error on make:
Code:
root@backup3 [~/dracut-025]# make
modules.d/80cms/cmssetup.sh: line 60: syntax error near unexpected token `;;'
modules.d/80cms/cmssetup.sh: line 60: `        3) echo "0.0.0${1}" ;;'
make: *** [syncheck] Error 2
And the code around that line is:
Code:
root@backup3 [~/dracut-025]# head -65 modules.d/80cms/cmssetup.sh  |tail -10
# prints a canonocalized device bus ID for a given devno of any format
function canonicalize_devno()
{
    case ${#1} in
        3) echo "0.0.0${1}" ;;
        4) echo "0.0.${1}" ;;
        *) echo "${1}" ;;
    esac
    return 0
}
Does anyone know what the issue is?

TIA
 
Old 03-04-2013, 03:42 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
What was the value of CMSDASD passed through readcmsfile to canonicalize_devno?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse error: syntax error, unexpected T_VARIABLE in line 8 gsness Programming 8 01-31-2012 08:53 PM
Error in Bash: line 77: syntax error: unexpected end of file bribon Programming 8 07-13-2011 01:43 PM
Parse error: syntax error (install_admin_menu.php line 2) mike24078 Programming 10 04-08-2010 09:34 AM
Parse error syntax error unexpected '{ ' on line chakaox Programming 2 04-29-2009 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration