summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-11-26 18:17:11 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-11-26 18:17:11 (GMT)
commit8362b19721d06b1cea77468b6efe9396c9397857 (patch)
tree56b291ec889db28ced562ca33a5bd8b72cb397d4
parent0295b0a19c3411bebe3e189484dade123c7b7ab2 (diff)
downloaddefinitions-baserock/pedroalvarez/installer3.tar.gz
fixup install_system compute install commandbaserock/pedroalvarez/installer3
-rwxr-xr-xinstaller/installer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/installer/installer.py b/installer/installer.py
index e9761a5..bd3a94f 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: