Ticket #517 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Running gli.sh script (Linux) throws errors - needs modifications

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

Description

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 gli.sh commit "make sure gli.sh 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

Changed 10 years ago by ak19

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. Gli.sh launches fine now.

Changed 10 years ago by ak19

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.