[gnome-code-assistance] [backends/sh] Use bash instead of sh



commit 47838cde51f641b61ae6c4c1793c230c6896b8be
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Mon Nov 11 17:17:10 2013 +0100

    [backends/sh] Use bash instead of sh

 backends/sh/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/sh/__init__.py b/backends/sh/__init__.py
index 5dab918..32c844d 100644
--- a/backends/sh/__init__.py
+++ b/backends/sh/__init__.py
@@ -35,7 +35,7 @@ class Service(transport.Service):
         doc.diagnostics = []
 
         try:
-            p = subprocess.Popen(["/bin/sh", "-n", doc.data_path], stdout=DEVNULL, stderr=subprocess.PIPE)
+            p = subprocess.Popen(["/bin/bash", "-n", doc.data_path], stdout=DEVNULL, stderr=subprocess.PIPE)
 
             for l in iter(p.stderr.readline, ''):
                 if not l:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]