From db68b1fbf5827496b91651308fb3e5766283dfa5 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 21 Oct 2010 10:25:46 +0100 Subject: [PATCH] babel: Handle non-nested list values in shell * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the structure of an Org-mode table (list of lists) Non-nested lists can arise either by explicit assignment, e.g. :var '(1 2), or by assigning a one-dimensional slice of a table. --- lisp/ob-sh.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ob-sh.el b/lisp/ob-sh.el index 153579fa5..107d1c44a 100644 --- a/lisp/ob-sh.el +++ b/lisp/ob-sh.el @@ -102,7 +102,8 @@ var of the same value." (org-babel-sh-var-to-sh el sep)))) (format "$(cat <