Commit 93bfb924 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

check each .local/* dir as it's added to *PATH vars

parent 7e522d9f
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -36,12 +36,10 @@ pathmunge()
	eval $var="'${pre:+$pre:}$val${post:+:$post}'"
}

if [ -d ~/.local ]; then
	pathmunge PATH ~/.local/bin before
	pathmunge LD_LIBRARY_PATH ~/.local/lib before
	pathmunge PKG_CONFIG_PATH ~/.local/lib/pkgconfig before
pathmunge PATH ~/.local/bin before check
pathmunge LD_LIBRARY_PATH ~/.local/lib before check
pathmunge PKG_CONFIG_PATH ~/.local/lib/pkgconfig before check
pathmunge PREFIX ~/.local
fi

# Other local bin paths
pathmunge PATH ~/.bin check