Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icetray-start has incorrect syntax #23

Closed
dsschult opened this issue Sep 19, 2016 · 0 comments
Closed

icetray-start has incorrect syntax #23

dsschult opened this issue Sep 19, 2016 · 0 comments
Assignees
Labels

Comments

@dsschult
Copy link
Collaborator

from http://code.icecube.wisc.edu/projects/icecube/ticket/1862:

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.

@dsschult dsschult added the bug label Sep 19, 2016
jvansanten added a commit to jvansanten/cvmfs that referenced this issue Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants