diff options
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | litmus/cmds/__init__.py | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -17,10 +17,10 @@ Install sdb from tizen sdk or download binary from below url. Unzip this package and copy sdb binary to /usr/bin $ wget http://download.tizen.org/sdk/tizenstudio/official/binary/sdb_2.3.0_ubuntu-64.zip \ - && unzip sdb_2.3.0_ubuntu-64.zip -d ~/temp \ - && cp ~/temp/data/tools/sdb /usr/bin \ + && unzip sdb_2.3.0_ubuntu-64.zip -d ./temp \ + && sudo cp ./temp/data/tools/sdb /usr/bin \ && rm -f sdb_2.3.0_ubuntu-64.zip \ - && rm -rf ~/temp + && rm -rf ./temp # Buliding & installing diff --git a/litmus/cmds/__init__.py b/litmus/cmds/__init__.py index 6fa3183..f5b387b 100644 --- a/litmus/cmds/__init__.py +++ b/litmus/cmds/__init__.py @@ -32,7 +32,7 @@ def load_project_list(projects): def sdb_does_exist(): help_url = 'https://github.com/dhs-shine/litmus#prerequisite' try: - call('sdb version', timeout=10) + call('sdb version', shell=True, timeout=10) except FileNotFoundError: raise Exception('Please install sdb. Refer to {}'.format(help_url)) return |