cijoe icon indicating copy to clipboard operation
cijoe copied to clipboard

SH Hooks

Open knoopx opened this issue 14 years ago • 4 comments

Why do we run hooks via sh? I would like to write them using ruby, but setting a #!/usr/bin/env ruby shebang has no effect.

knoopx avatar Mar 23 '11 12:03 knoopx

This should work as hooks are called using sh. What type of shell is sh on your system?

https://github.com/defunkt/cijoe/blob/master/lib/cijoe.rb#L194

mcolyer avatar Mar 31 '11 18:03 mcolyer

knoopx,

We need more info about your system and perhaps what exactly you are trying to do, in order to help.

queso avatar Apr 19 '11 05:04 queso

I've run into the same issues. sh on my system (Ubuntu 10.04) is actually dash

zacharydanger avatar Dec 12 '11 16:12 zacharydanger