]> git.sur5r.net Git - u-boot/commit
buildman: patman: Fix -H when installed as a symlink
authorSimon Glass <sjg@chromium.org>
Mon, 7 Mar 2016 02:45:34 +0000 (19:45 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commit2bdeade0eac66e7b12db847ffbbcbe2e63a17fd4
tree819d472ee13ed14f3fb4a2b51649a3050caa74de
parent9ad96982e8c8c89cf75d4ebfc3e7e8afd3fe3364
buildman: patman: Fix -H when installed as a symlink

It is convenient to install symlinks to buildman and patman in the search
patch, such as /usr/local/bin. But when this is done, the -H option fails to
work because it looks in the directory containing the symlink instead of its
target. Fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
tools/buildman/control.py
tools/patman/patman.py