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
48 | 48 | for p in $PATH; do |
49 | 49 | case "$p" in |
50 | 50 | @LIBEXECDIR@/bin|@LIBEXECDIR@/sbin);; |
51 | @PREFIX@/bin|@PREFIX@/sbin|/usr/bin|/usr/sbin);; | |
51 | @BINDIR@|@SBINDIR@|/usr/bin|/usr/sbin);; | |
52 | 52 | @PKG_PREFIX@/bin|@PKG_PREFIX@/sbin);; |
53 | 53 | @LOCAL_PREFIX@/bin|@LOCAL_PREFIX@/sbin);; |
54 | 54 | *) path="$path${path:+:}$p";; |