Codebase list openrc / a82a2b5
include BINDIR and SBINDIR in the sanitized PATH Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Andrew Gregory authored 11 years ago William Hubbs committed 11 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4848 for p in $PATH; do
4949 case "$p" in
5050 @LIBEXECDIR@/bin|@LIBEXECDIR@/sbin);;
51 @PREFIX@/bin|@PREFIX@/sbin|/usr/bin|/usr/sbin);;
51 @BINDIR@|@SBINDIR@|/usr/bin|/usr/sbin);;
5252 @PKG_PREFIX@/bin|@PKG_PREFIX@/sbin);;
5353 @LOCAL_PREFIX@/bin|@LOCAL_PREFIX@/sbin);;
5454 *) path="$path${path:+:}$p";;