Merge "envsetup.sh: say -p for plain, not -ps."

am: 07d639a4fd

Change-Id: I6cc5e5d0c52e7bf26e23710ffb40db379d00e252
This commit is contained in:
Elliott Hughes 2018-11-16 08:35:18 -08:00 committed by android-build-merger
commit 8e42ecb318

View file

@ -1095,7 +1095,7 @@ function is64bit()
{
local PID="$1"
if [ "$PID" ] ; then
if [[ "$(adb shell cat /proc/$PID/exe | xxd -l 1 -s 4 -ps)" -eq "02" ]] ; then
if [[ "$(adb shell cat /proc/$PID/exe | xxd -l 1 -s 4 -p)" -eq "02" ]] ; then
echo "64"
else
echo ""