← Back to team overview

desktop-packages team mailing list archive

[Bug 1439711] [NEW] cedilla-brazil.sh writes errors on login: line 21: [: too many arguments

 

Public bug reported:

fresh vivid cloud instance, ssh in:
$ ssh smoser@xxxxxxxxxxxxxxxxxxxxxxxx
Last login: Thu Apr  2 13:59:07 2015 from d149-67-16-30.nap.wideopenwest.com
-bash: [: too many arguments

the issue 
/etc/profile.d/cedilla-brazil.sh

says:
 | if [ -n $LC_IDENTIFICATION -a ${LC_IDENTIFICATION%.*} = 'pt_BR' ]; then
 |   export LC_CTYPE="$LC_IDENTIFICATION"
 | fi

This is fixed by just qouting.

if [ -n "$LC_IDENTIFICATION" -a "${LC_IDENTIFICATION%.*}" = "pt_BR" ]; then
fi

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: language-selector-common 0.141
ProcVersionSignature: User Name 3.19.0-11.11-generic 3.19.3
Uname: Linux 3.19.0-11-generic x86_64
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
Date: Thu Apr  2 14:01:59 2015
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: language-selector
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: language-selector (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug uec-images vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1439711

Title:
  cedilla-brazil.sh writes errors on login: line 21: [: too many
  arguments

Status in language-selector package in Ubuntu:
  New

Bug description:
  fresh vivid cloud instance, ssh in:
  $ ssh smoser@xxxxxxxxxxxxxxxxxxxxxxxx
  Last login: Thu Apr  2 13:59:07 2015 from d149-67-16-30.nap.wideopenwest.com
  -bash: [: too many arguments

  the issue 
  /etc/profile.d/cedilla-brazil.sh

  says:
   | if [ -n $LC_IDENTIFICATION -a ${LC_IDENTIFICATION%.*} = 'pt_BR' ]; then
   |   export LC_CTYPE="$LC_IDENTIFICATION"
   | fi

  This is fixed by just qouting.

  if [ -n "$LC_IDENTIFICATION" -a "${LC_IDENTIFICATION%.*}" = "pt_BR" ]; then
  fi

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: language-selector-common 0.141
  ProcVersionSignature: User Name 3.19.0-11.11-generic 3.19.3
  Uname: Linux 3.19.0-11-generic x86_64
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  Date: Thu Apr  2 14:01:59 2015
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: language-selector
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1439711/+subscriptions


Follow ups

References