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

(-)misc-functions.sh~ (-5 / +12 lines)
Lines 941-951 Link Here
941
		# and to be installed file.  This usually is a symlink for the
941
		# and to be installed file.  This usually is a symlink for the
942
		# major version.
942
		# major version.
943
		if [[ ! -e ${D}${install_name} ]] ; then
943
		if [[ ! -e ${D}${install_name} ]] ; then
944
			eqawarn "QA Notice: invalid self-reference install_name ${install_name} in ${obj}"
944
			# Don't warn on special variables.
945
			# remember we are in an implicit subshell, that's
945
			case ${install_name} in
946
			# why we touch a file here ... ideally we should be
946
				@executable_path/*|@loader_path/*|@rpath/*)
947
			# able to die correctly/nicely here
947
					;;
948
			touch "${T}"/.install_name_check_failed
948
				*)
949
					eqawarn "QA Notice: invalid self-reference install_name ${install_name} in ${obj}"
950
					# remember we are in an implicit subshell, that's
951
					# why we touch a file here ... ideally we should be
952
					# able to die correctly/nicely here
953
					touch "${T}"/.install_name_check_failed
954
					;;
955
			esac
949
		fi
956
		fi
950
957
951
		# this is ugly, paths with spaces won't work
958
		# this is ugly, paths with spaces won't work

Return to bug 381807