aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-19 10:00:09 +0200
committerDanilo M. <danix@danix.xyz>2026-06-19 10:00:09 +0200
commitf2f19227b14d5a342fdfb48f7d67914d947160a9 (patch)
treedaf36b2c013eb8d2df577c1ef7edc3abb8201fe9
parent4d992ef9a67d3b5963bf8aa3a08648f897defe94 (diff)
downloadmkhintfile-f2f19227b14d5a342fdfb48f7d67914d947160a9.tar.gz
mkhintfile-f2f19227b14d5a342fdfb48f7d67914d947160a9.zip
fix: strip trailing slash in review hint path for consistent output
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
-rwxr-xr-xmkhint2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkhint b/mkhint
index f3395e7..8decc76 100755
--- a/mkhint
+++ b/mkhint
@@ -156,7 +156,7 @@ review_hint_files() {
local deleted=0 kept=0
local pkg
for pkg in "${MATCHED_PKGS[@]}"; do
- local hint="${HINT_DIR}/${pkg}.hint"
+ local hint="${HINT_DIR%/}/${pkg}.hint"
local info
info=$(find "$REPO_DIR" -mindepth 2 -name "${pkg}.info" 2>/dev/null | head -1)
[[ -f "$hint" ]] || continue