On 03/08/2017 11:43 PM, Pétùr wrote:
> Out of curiosity, I look the difference between my manually modified 
> thunderbird startup script and your. 
> 
> Diff gives me:
> 
> # diff thunderbird thunderbird-old 

Please use "diff -u" in the future.

> 197c197
> <      { [ -d "${TB_PROFILE_FOLDER}" ] || [ -L "${TB_PROFILE_FOLDER}" ]; } && 
> \
> ---
>>      { [ -d "${TB_PROFILE_FOLDER}" ] || [ -L "${TB_PROFILE_FOLDER}" ]; } && 
>> \ 
> 
> I had two extra spaces after "&& \".

Most likely it was interpreted as "\ ", i.e. it escaped a white space. Escaping
in scripting languages can be very tricky which is why I *always* test such
statements first before adding them to a script. You shouldn't trust your
intuition in such cases, but you actually need to verify your changes.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to