aboutsummaryrefslogtreecommitdiffstats
path: root/network/metasploit-framework-bin
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-08 13:01:07 +0200
committerDanilo M. <danix@danix.xyz>2026-08-08 13:01:07 +0200
commit998dbd56e53c8c8c8bc1a425cec16b6ccc752e34 (patch)
tree644146368bbcf94c986d14df370482b82db3e8eb /network/metasploit-framework-bin
parent78d37fb4f2f09de3900a120e3e11479c19b14d12 (diff)
downloadsbo-slackbuilds-998dbd56e53c8c8c8bc1a425cec16b6ccc752e34.tar.gz
sbo-slackbuilds-998dbd56e53c8c8c8bc1a425cec16b6ccc752e34.zip
hooks: fix pre-commit sbolint never running
The sbolint loop extracted build dirs with "cut -d/ -f1,2", which is correct for SBo's own <category>/<package>/ layout but yields a file path in this repo's flat <package>/ layout (e.g. nuclei/nuclei.info). The guard then tested nuclei/nuclei.info/slack-desc, which never exists, so sbolint was silently skipped on every package commit. Walk up from each changed file to the directory holding the .SlackBuild instead. Depth is no longer assumed, so this works for the current flat layout and for <category>/<package>/ after the planned migration.
Diffstat (limited to 'network/metasploit-framework-bin')
0 files changed, 0 insertions, 0 deletions