cijoe
cijoe copied to clipboard
SH Hooks
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.
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
knoopx,
We need more info about your system and perhaps what exactly you are trying to do, in order to help.
I've run into the same issues. sh on my system (Ubuntu 10.04) is actually dash