fix a sudo issue

Review URL: http://codereview.chromium.org/1549025
This commit is contained in:
Jie Sun 2010-04-07 14:34:04 -07:00
parent 7a4c081107
commit 6795867104

View File

@ -176,7 +176,7 @@ echo "Copying rootfs..."
$sudo dd if=${ROOTFS_IMG} of=${OUTDEV} conv=notrunc bs=512 seek=${START_ROOTFS_A}
echo "Copying EFI system partition..."
dd if=${ESP_IMG} of=${OUTDEV} conv=notrunc bs=512 seek=${START_ESP}
$sudo dd if=${ESP_IMG} of=${OUTDEV} conv=notrunc bs=512 seek=${START_ESP}
# Clean up temporary files.
if [[ -n "${MBR_IMG:-}" ]]; then