Opened 12 years ago

Closed 12 years ago

#517 closed defect (fixed)

Running script (Linux) throws errors - needs modifications

Reported by: ak19 Owned by: oranfry
Priority: moderate Milestone: Book Release
Component: GLI Severity: major
Keywords: Cc:


The function definitions for "get_version" and "check_installation" need parentheses after them (get_version() and check_installation()) else the GLI script throws errors upon running. The removal of the () seems to have been a recent change to do with the commit "make sure is run with bash not sh or other interpretters, and took out erroneous brackets from function definitions". There is obviously an important reasons for why the () have been removed, but as the script is at present it doesn't run without them being reintroduced.

Change History (2)

comment:1 by ak19, 12 years ago

Oran checked over the file and found that the round brackets could be reintroduced as they're just as acceptable in the bash world as no brackets in function definition. launches fine now.

comment:2 by ak19, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.