Opened 8 years ago

Closed 8 years ago

#1862 closed defect (duplicate)

icetray-start has incorrect syntax

Reported by: Christopher Weaver Owned by: David Schultz
Priority: normal Milestone:
Component: cvmfs Keywords:
Cc:

Description

icetray-start requests to be executed using plain sh, but uses syntax which only exists in bash to define functions. This prevents it from running on systems (Ubuntu, FreeBSD) where /bin/sh is either really the Bourne shell or something closer to being conformant with the Bourne shell specification:

/cvmfs/icecube.opensciencegrid.org/py2-v2/icetray-start: 52: /cvmfs/icecube.opensciencegrid.org/py2-v2/icetray-start: Syntax error: "(" unexpected

It appears that the correct solution is to remove all uses of the non-existent function keyword.

Change History (1)

comment:1 Changed 8 years ago by David Schultz

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.