Nick Dokos <nicholas.do...@hp.com> wrote:

> Nick Dokos <nicholas.do...@hp.com> wrote:
> 
> > Loris Bennett <loris.benn...@fu-berlin.de> wrote:
> > 
> > > I used to be able do all sorts of stuff with sh, Perl and R.  Now the
> > > following example no longer works:
> > > 
> > > ,---------------------------------------------------
> > > | #+begin_src sh :dir /xxxx@xxxx:/tmp
> > > | echo "Executed by `whoami` on `hostname` in `pwd`"
> > > | #+end_src
> > > `---------------------------------------------------
> > > 
> > 
> > Just a heads-up:
> > 
> > I started bisecting with this example and I can verify that
> > it worked in release_7.8.01 and does not work in release_7.9.
> > 
> > I'll continue to bisect.
> > 
> 
> Bisection fingered the following commit, which unfortunately
> leaves things pretty murky:
> 
> ,----
> | commit 552b0edb254a104e441e28f3a942dc6005e97f87
> | Author: Bastien Guerry <b...@altern.org>
> | Date:   Sat Mar 17 15:44:41 2012 +0100
> | 
> |     Manually revert to 78ec8e21 (Release 7.8.04)
> |     
> |     Let's take a fresh start.  Sorry Mama.
> |     .... 
> `----
> 

OK. It was working in 7.8.03, broken in 7.8.04, fixed in 7.8.05 and
broken again in 7.8.11 when Bastien reverted to 7.8.04 (I presume to
clean up a mess: I don't remember the details).

>From 7.8.03 to 7.8.04, it broke with the following commit:

,----
| 5cb80c7e5b9bcae180b799d2a49c78d529e029f0 is the first bad commit
| commit 5cb80c7e5b9bcae180b799d2a49c78d529e029f0
| Author: Eric Schulte <eric.schu...@gmx.com>
| Date:   Mon Mar 12 13:23:53 2012 -0400
| 
|     apply :shebang and :padline to shell script execution
|     
|     * lisp/ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
|       (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
|       execution.
| 
`----

I haven't chased it all the way down because the reverts are
making my head spin, but it may be that somehow the above commit
got lost somewhere - or it got fixed and then the big revert lost
the fix. Maybe Eric or Bastien remembers what happened.

Nick


Reply via email to