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

(-)a/gen_funcs.sh (-1 / +1 lines)
Lines 221-227 is_valid_triplet() { Link Here
221
	local triplet=${1}
221
	local triplet=${1}
222
	local is_triplet=no
222
	local is_triplet=no
223
223
224
	if [[ "${triplet}" =~ ^[a-zA-Z0-9]{2,}-[a-zA-Z0-9]{2,}-[a-zA-Z0-9]{2,} ]]
224
	if [[ "${triplet}" =~ ^[a-zA-Z0-9_]{2,}-[a-zA-Z0-9]{2,}-[a-zA-Z0-9]{2,} ]]
225
	then
225
	then
226
		is_triplet=yes
226
		is_triplet=yes
227
	fi
227
	fi

Return to bug 690262