Skip to content
Snippets Groups Projects
Verified Commit c5ca0c17 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

generate_*: improve includes to be more consistent

This is just stylistic change. It removes dirname and instead relies on
string operation. There should be no way of having in $0 anything else
other than some valid path. That is last part has to be at least
/name_of_file. This means that we do not have to rely on dirname and we
can safely just remove anything after last slash (including that slash).
We user dirname only for paths in sub-directories.
parent 530f999d
Branches
Tags
2 merge requests!377Turris OS 5.2 (HBK),!292helpers/force-make: fix fast path to fallback
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