Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362717 - libbash doesn't handle vim-doc.eclass well
Summary: libbash doesn't handle vim-doc.eclass well
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: libbash (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-09 13:24 UTC by Mu Qiao (RETIRED)
Modified: 2018-01-25 17:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mu Qiao (RETIRED) gentoo-dev 2011-04-09 13:24:06 UTC
The following script can't be interpreted:
update_vim_helptags() {
	for d in "${EROOT%/}"/usr/share/vim/vim[0-9]*; do
		[[ -d "$d/doc" ]] || continue	# catch a failed glob

		# Remove links, and possibly remove stale dirs
		find $d/doc -name \*.txt -type l | while read s; do
			[[ $(readlink "$s") = $vimfiles/* ]] && rm -f "$s"
		done
	done
}
Comment 1 Pacho Ramos gentoo-dev 2018-01-25 17:54:40 UTC
Developer retired (and his mail address is not active anymore)