summaryrefslogtreecommitdiff
path: root/src/categories
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-03 06:34:59 -0300
committerEuAndreh <eu@euandre.org>2025-05-03 06:34:59 -0300
commit1c36a265c6b34c28c424eb0bc11ba3b0f9b932d0 (patch)
treed2acd4541339d0078c1d496792b0ebfd6907bd42 /src/categories
parentsrc/symlinks: Tolerate empty stream on getdirs() (diff)
downloadmkwb-1c36a265c6b34c28c424eb0bc11ba3b0f9b932d0.tar.gz
mkwb-1c36a265c6b34c28c424eb0bc11ba3b0f9b932d0.tar.xz
Remove leftover "tee /dev/stderr"
Diffstat (limited to 'src/categories')
-rwxr-xr-xsrc/categories2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/categories b/src/categories
index 26172e8..4bafb0c 100755
--- a/src/categories
+++ b/src/categories
@@ -14,7 +14,7 @@ eval "$(assert-arg -- "$DATADIRECTORY" 'DATADIRECTORY')"
len="$( printf '%s..' "$root_dir" | sed -e 's|//|/|g' -e 's|/$||' | wc -c)"
-lang="$(printf '%s' "$DATADIRECTORY" | cut -c "$len"- | tee /dev/stderr | cut -d/ -f1)"
+lang="$(printf '%s' "$DATADIRECTORY" | cut -c "$len"- | cut -d/ -f1)"
SINGULAR="$(cat "$names_dir"/category/"$lang".txt)"
PLURAL="$( cat "$names_dir"/categories/"$lang".txt)"