Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 751037
Collapse All | Expand All

(-)a/bootstrap-prefix.sh (-2 / +8 lines)
Lines 2687-2694 Link Here
2687
			EPREFIX=
2687
			EPREFIX=
2688
			continue
2688
			continue
2689
		fi
2689
		fi
2690
		if [[ $(stat -c '%U/%G' "${EPREFIX}"/.canihaswrite) != \
2690
		# GNU and BSD variants of stat take different arguments (and format specifiers are not equivalent)
2691
			$(stat -c '%U/%G' "${EPREFIX}") ]] ;
2691
		case "${CHOST}" in
2692
		*-darwin* | *-freebsd*) STAT='stat -f %u/%g' ;;
2693
		*)                      STAT='stat -c %U/%G' ;;
2694
	esac
2695
		
2696
		if [[ $($STAT "${EPREFIX}"/.canihaswrite) != \
2697
			$($STAT "${EPREFIX}") ]] ;
2692
		then
2698
		then
2693
			echo
2699
			echo
2694
			echo "The $EPREFIX directory has different ownership than expected."
2700
			echo "The $EPREFIX directory has different ownership than expected."

Return to bug 751037