b0b876
#!/bin/sh
b0b876
eval "SCLS=(${X_SCLS[*]})"
b0b876
[ -z "$SCLS" ] && exit 1
b0b876
[ -z "$*" ] && exit 0
b0b876
for scl in $*; do
b0b876
	FOUND=0
b0b876
	for i in `seq 0 ${#SCLS[@]}`; do
b0b876
		if [ "${SCLS[$i]}" == "$scl" ]; then
b0b876
			FOUND=1;
b0b876
			break;
b0b876
		fi;
b0b876
	done
b0b876
	[ $FOUND == 0 ] && exit 1;
b0b876
done
b0b876
exit 0