Merge pull request #1 from Unixware/patch-1

Update add-certificates-to-phone.sh
pull/2/head
LiarOnce 2021-10-11 16:12:37 +08:00 committed by GitHub
commit 4937864e1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ PKCS11=pkcs11.txt
DB_DIR=`adb shell "ls -d ${ROOT_DIR_DB}/*.default 2>/dev/null" | sed "s/default.*$/default/g"` DB_DIR=`adb shell "ls -d ${ROOT_DIR_DB}/*.default 2>/dev/null" | sed "s/default.*$/default/g"`
if [ "${DB_DIR}" = "" ]; then if [ "${DB_DIR}" = "" ]; then
echo "Profile directory does not exists. Please start the b2g process at echo "Profile directory does not exist. Please start the b2g process at
least once before running this script." least once before running this script."
exit 1 exit 1
fi fi