summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-11-26 18:17:11 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-12-02 17:58:47 +0000
commitabac72ff1d859627d36222763b0fe78e0be7bf07 (patch)
treee5963d92d1041b2a6c9d5d6fd14f4cfc88b0d323
parente571d6034528faca2a451a67207be1da201247a5 (diff)
downloaddefinitions-abac72ff1d859627d36222763b0fe78e0be7bf07.tar.gz
fixup install_system compute install command
-rwxr-xr-xinstaller/installer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/installer/installer.py b/installer/installer.py
index e9761a5c..bd3a94f2 100755
--- a/installer/installer.py
+++ b/installer/installer.py
@@ -157,8 +157,7 @@ class BaserockInstaller():
def install_system(self, install_script):
- run_script = "sh %s" % install_script
- subprocess.check_call(run_script, shell=True)
+ subprocess.check_call(['sh', install_script])
def is_device(self, location):
try: