> -             X2GO_COMPONENT="$(echo "${compfile}" | cut -d '.' -f '2')"
> +             X2GO_COMPONENT="$(echo "$(basename ${compfile})" | cut -d '.' 
> -f '2')"
The echo $(...) is redundant, i.e., you want
                X2GO_COMPONENT="$(basename "${compfile}" | cut -d '.' -f '2')"
_______________________________________________
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

Reply via email to