Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 131779 | Differences between
and this patch

Collapse All | Expand All

(-)bin/ebuild.sh (-7 / +9 lines)
Lines 1071-1083 Link Here
1071
		s=$(echo ${s}) # strip newlines
1071
		s=$(echo ${s}) # strip newlines
1072
		# eval needed to get ${QA_TEXTRELS} expanded so bash splits
1072
		# eval needed to get ${QA_TEXTRELS} expanded so bash splits
1073
		# words taking account of spaces in quoted words.
1073
		# words taking account of spaces in quoted words.
1074
		eval "for s in ${s}; do
1074
		f=$(eval "( set -o noglob
1075
		for s in ${s}; do
1075
			for t in ${QA_TEXTRELS}; do
1076
			for t in ${QA_TEXTRELS}; do
1076
				[[ \${s} =~ \"^\${t}$\" ]] && continue 2
1077
				[[ \${s} =~ \"^\${t}$\" ]] && continue 2
1077
			done
1078
			done
1078
			f=\"\${f}\${s}\n\"
1079
			printf \"\${s}\n\"
1079
		done"
1080
		done )")
1080
		if [[ -n ${f[@]} ]] ; then
1081
		if [[ -n ${f} ]] ; then
1081
			echo -ne '\a\n'
1082
			echo -ne '\a\n'
1082
			echo "QA Notice: the following files contain runtime text relocations"
1083
			echo "QA Notice: the following files contain runtime text relocations"
1083
			echo " Text relocations require a lot of extra work to be preformed by the"
1084
			echo " Text relocations require a lot of extra work to be preformed by the"
Lines 1115-1126 Link Here
1115
					s=$(echo ${s}) # strip newlines
1116
					s=$(echo ${s}) # strip newlines
1116
					# eval needed to get ${QA_TEXTRELS} expanded so bash splits
1117
					# eval needed to get ${QA_TEXTRELS} expanded so bash splits
1117
					# words taking account of spaces in quoted words.
1118
					# words taking account of spaces in quoted words.
1118
					eval "for s in ${s}; do
1119
					f=$(eval "( set -o noglob
1120
					for s in ${s}; do
1119
						for e in ${QA_EXECSTACK}; do
1121
						for e in ${QA_EXECSTACK}; do
1120
							[[ \${s} =~ \"^\${e}$\" ]] && continue 2
1122
							[[ \${s} =~ \"^\${e}$\" ]] && continue 2
1121
						done
1123
						done
1122
						f=\"\${f}\${s}\n\"
1124
						printf \"\${s}\n\"
1123
					done"
1125
					done )")
1124
					;;
1126
					;;
1125
			esac
1127
			esac
1126
			;;
1128
			;;

Return to bug 131779