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

Randy Goldenberg randy.goldenberg at gmail.com
Tue May 19 19:38:56 CEST 2020


On Tuesday May 19, 2020, Edgar Fuß wrote: 

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

True.  I limited my changes to what was needed to make things work.  There's no 
need for 2 to be in single quotes, either.


More information about the x2go-dev mailing list