Source: ltsp-client-core
Version: 5.4.2-2
Severity: important
User: debian-rele...@lists.debian.org
Usertags: goal-dash
Control: tags -1 patch pending

The file /usr/share/ltsp/screen-x-common contains a basishm using 'echo -e', 
which behaves inconsistantly depending on what shell is used.

The following patch from upstream fixes this:

 2398 Vagrant Cascadian 2012-10-29
      Fix another use of 'echo -e' by switching to printf.
      === modified file 'client/share/ltsp/screen-x-common'
      --- client/share/ltsp/screen-x-common     2012-05-14 19:23:51 +0000
      +++ client/share/ltsp/screen-x-common     2012-10-29 19:34:41 +0000
      @@ -43,7 +43,7 @@
       DISP="$DISPLAY"

       error_delay() {
      -    echo -n -e "\n\rERROR: $1"
      +    printf "\n\rERROR: %s" "$1"
           read CMD
       }


This wasn't caught by checkbashisms, because it's a file sourced by /bin/sh 
scripts, and thus not a shell script itself.

live well,
  vagrant


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to