Only search for the gpt tool if we need it.

Review URL: http://codereview.chromium.org/1604041
This commit is contained in:
robotboy 2010-04-20 17:17:03 -07:00
parent ba9af725d1
commit 3e9204c315

View File

@ -23,6 +23,8 @@ fi
PACK="${DIR}/pack_partitions.sh"
UNPACK="${DIR}/unpack_partitions.sh"
locate_gpt
TMP=$(mktemp)
sudo $GPT -r show -l "$IMAGE" > $TMP