Small fixes

This commit is contained in:
topjohnwu
2017-03-20 05:03:52 +08:00
parent 9f9333315e
commit 02e039d792
3 changed files with 6 additions and 7 deletions

View File

@ -1,5 +1,4 @@
# Detect whether in boot mode
ps | grep zygote | grep -v grep >/dev/null && BOOTMODE=true || BOOTMODE=false
[ -z $BOOTMODE ] && BOOTMODE=false
# This path should work in any cases
TMPDIR=/dev/tmp