diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-05-17 20:13:14 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-05-17 20:30:30 +0300 |
commit | 9f00e78bf5a6b311c6d0e72b7c79f793863ea942 (patch) | |
tree | fcf26248a5f17360eb9a1cea6f51c179e82f3957 /utils/hooks/post-commit | |
parent | 5efb6c8e2acdc2dc9edf1f22f6c2a5818062b69e (diff) |
py: Fix link generation to __init__.py
The command to create a symlink to the __init__.py file in the source
directory uses a relative path from the build directory, which hardcodes
the assumption that the build directory is a direct child of the source
directory. This isn't always true. Fix it by using the files() function.
Fixes: 8aa02271fd71 ("Add Python bindings")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'utils/hooks/post-commit')
0 files changed, 0 insertions, 0 deletions