Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize-png-files.sh: relax cwd restriction
There's nothing in this script that really requires being run in the top level of the src.git repo other than the git commit logic. That means we can run this script completely outside of src.git if given a set of paths to operate on. Move the check into the git scenario. Bug: None Test: ran the script outside of src.git on some png files Change-Id: I4d1343f3757a05e8675ac80c618c8b4ec23e1695 Reviewed-on: https://chromium-review.googlesource.com/1097615 Reviewed-by: agrieve <agrieve@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Cr-Commit-Position: refs/heads/master@{#566690}
- Loading branch information