@lj-pinho, Unfortunately that solution will not work if you have Bash-
specific shell syntax in your .bash_profile (and why wouldn't you?).

I'm currently having this same issue because of using `[[ ]]` instead of
`[ ]` and source instead of `.`. I _knew_ there was a good reason I'd
previously changed all my `[[ ]]` to `[ ]` in my `.profile` file.
However, there's also a good reason to not have a `.bash_profile` and
only have a `.profile` but I'm forgetting what that is at the moment.
Can anyone enlighten me? I do use these dotfiles across Linux, Mac,
FreeBSD and (not recently) Solaris, UX, AIX, Cygwin, MinGW. Mainly my
dotfiles need to be portable across Linux and Mac.

Cheers!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/962270

Title:
  /usr/sbin/lightdm-session: 34: [: Linux: unexpected operator

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/962270/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to