Am 25.08.2015 um 15:51 schrieb Rob Mandeville:
> Why does running a shell step without a shebang behave differently
> than it does with a “#!/bin/bash –ex” shebang? Exactly what is being
> run without a shebang?
What sh is, depends on your OS. It may be bash, or something else.
CentOS:
# ll =sh
lrwxrwxrwx. 1 root root 4 Nov 18 2014 /bin/sh -> bash
Ubuntu:
# ll =sh
lrwxrwxrwx 1 root root 4 Dec 2 2014 /bin/sh -> dash
HTH...
Dirk
--
*Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 1596666 (Ansage) 1149
*Email*: [email protected] <mailto:[email protected]>
*Skype*: dirk.heinrichs.recommind
www.recommind.com <http://www.recommind.com>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/55DC7498.70609%40recommind.com.
For more options, visit https://groups.google.com/d/optout.