Commit 409f5cdc authored by Josh Gao's avatar Josh Gao
Browse files

hooks: use the provided name for custom hooks.

We're given a perfectly good name in the custom hook configuration; use
it instead of basename(cmd[0]).

Bug: None
Test: pre-upload.py in here, and in bionic
Change-Id: I407d630fa3f2e6698c8dfadec4d443cc23719566
parent 23461b60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment