Change-Id: Ia830730023ec7280fef57b54985e5163ee9722e6
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
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