summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: