Merge branch 'mcepl-fix_gt'

pull/1/head
mcnesium 2015-04-27 10:25:19 +02:00
commit c137b9ae9d
1 changed files with 2 additions and 2 deletions

4
add-certificates-to-phone.sh 100644 → 100755
View File

@ -5,7 +5,7 @@ ROOT_DIR_DB=/data/b2g/mozilla
CERT=cert9.db CERT=cert9.db
KEY=key4.db KEY=key4.db
PKCS11=pkcs11.txt 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 exists. Please start the b2g process at
@ -58,4 +58,4 @@ adb push ./${PKCS11} ${DB_DIR}/${PKCS11}
log "starting b2g" log "starting b2g"
adb shell start b2g adb shell start b2g
log "Finished." log "Finished."