Commit 0b98a031 authored by Rusty Russell's avatar Rusty Russell

tools/ccanlint: don't assert on relative directories for -d.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 009f5f24
......@@ -679,7 +679,7 @@ int main(int argc, char *argv[])
if (argc == 1)
dir = cwd;
else
dir = path_join(NULL, cwd, argv[1]);
dir = path_simplify(NULL, take(path_join(NULL, cwd, argv[1])));
ccan_dir = find_ccan_dir(dir);
if (!ccan_dir)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment