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

Collapse All | Expand All

(-)eutils.eclass (-4 / +1 lines)
Lines 1319-1324 check_license() { Link Here
1319
			lic="${lic}"
1319
			lic="${lic}"
1320
		fi
1320
		fi
1321
	fi
1321
	fi
1322
	[ ! -f "${lic}" ] && die "Could not find requested license ${lic}"
1322
	local l="`basename ${lic}`"
1323
	local l="`basename ${lic}`"
1323
1324
1324
	# here is where we check for the licenses the user already
1325
	# here is where we check for the licenses the user already
Lines 1334-1343 check_license() { Link Here
1334
	done
1335
	done
1335
	set +o noglob; set -$shopts #reset old shell opts
1336
	set +o noglob; set -$shopts #reset old shell opts
1336
1337
1337
	# effectively check if license file is available now that
1338
	# ACCEPT_LICENSE has been checked
1339
	[ ! -f "${lic}" ] && die "Could not find requested license ${lic}"
1340
1341
	local licmsg=$(emktemp)
1338
	local licmsg=$(emktemp)
1342
	cat <<-EOF > ${licmsg}
1339
	cat <<-EOF > ${licmsg}
1343
	**********************************************************
1340
	**********************************************************

Return to bug 281314