--- linux-info.eclass 2006-04-02 04:39:18.000000000 -0500 +++ linux-info.eclass.corrected 2006-04-02 04:40:33.000000000 -0500 @@ -178,16 +178,16 @@ esac for x in ${@}; do - for((y=0; y<$((3 - ${#x})); y++)); do value="${value}0"; done + for((y=0; $y<$((3 - ${#x})); y++)); do value="${value}0"; done value="${value}${x}" z=$((${z} + 1)) case ${z} in - 1) for((y=0; y<$((3 - ${#KV_MAJOR})); y++)); do test="${test}0"; done; + 1) for((y=0; $y<$((3 - ${#KV_MAJOR})); y++)); do test="${test}0"; done; test="${test}${KV_MAJOR}";; - 2) for((y=0; y<$((3 - ${#KV_MINOR})); y++)); do test="${test}0"; done; + 2) for((y=0; $y<$((3 - ${#KV_MINOR})); y++)); do test="${test}0"; done; test="${test}${KV_MINOR}";; - 3) for((y=0; y<$((3 - ${#KV_PATCH})); y++)); do test="${test}0"; done; + 3) for((y=0; $y<$((3 - ${#KV_PATCH})); y++)); do test="${test}0"; done; test="${test}${KV_PATCH}";; *) die "Error in kernel-2_kernel_is(): Too many parameters.";; esac