factory_install: Fix typos.

There are typos in factory_install.sh and they will cause cros_payload
always fails to install complete script and firmware. Fix them.

BUG=b:65270817
TEST=none

Change-Id: I4dc15c9df03a1fabfe644b17751dc9b4c713c2ee
Reviewed-on: https://chromium-review.googlesource.com/647956
Commit-Ready: Youcheng Syu <youcheng@chromium.org>
Tested-by: Youcheng Syu <youcheng@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Marco Chen <marcochen@chromium.org>
diff --git a/factory_install.sh b/factory_install.sh
index 9e769db..3a563d3 100644
--- a/factory_install.sh
+++ b/factory_install.sh
@@ -608,8 +608,8 @@
   # Install optional components.
   local remote="$(cros_payload list "${json_url}")"
   cros_payload_install_optional "${json_url}" "${DST_DRIVE}" hwid "${remote}"
-  cros_payload_install_optional "${json_url}" "${temp_dir}" firmware "${remote}"
-  cros_payload_install_optional "${json_url}" "${temp_dir}" complete "${remote}"
+  cros_payload_install_optional "${json_url}" "${tmp_dir}" firmware "${remote}"
+  cros_payload_install_optional "${json_url}" "${tmp_dir}" complete "${remote}"
 
   if [ -n "${src_mount}" ]; then
     umount "${src_mount}"