Fix error when colleting logs.

- Fix the following 3 errors:
  - sudo: unable to execute /bin/cp: Argument list too long
  - sudo: /opt/google/input/cmt_feedback: command not found
  - ls: cannot access /opt/oem/: No such file or directory
- setting TMPDIR will override the default /tmp for file output directory

BUG=chrome-os-partner:49851
TEST=Ran on terra13

o

Change-Id: I2f6ae130a78bc41e753a8ba5cbcd2b4b80500530
Reviewed-on: https://chromium-review.googlesource.com/324147
Commit-Ready: danny chan <dchan@chromium.org>
Tested-by: danny chan <dchan@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
1 file changed
tree: d69681f922ca7ad388d4b1a06cfba9790ab02a25
  1. crosh-workarounds
  2. generate_logs
  3. inherit-review-settings-ok
  4. LICENSE