[X2Go-Dev] Bug#1470: x2goserver: Broken x2goversion results in failed connection

Edgar Fuß ef at math.uni-bonn.de
Tue May 19 10:25:53 CEST 2020


> -		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')"


More information about the x2go-dev mailing list