Public bug reported:

Calling "keychain -l" to list the loaded keys produces the message:

/usr/bin/keychain: 1537: [: end: unexpected operator
end

I suspect that keychain uses bashisms despite the fact that #!/bin/sh is
called out (which resolves to dash).  Things behave normally after
hacking /usr/bin/keychain to so that is relies on /bin/bash instead of
/bin/sh --> dash.

I believe that the fix is either to change the shell from sh/dash to
bash or to remove the bashisms.  It might be appropriate to fix things
upstream.

** Affects: keychain (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  keychain not compatible with dash dispite using /bin/sh

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

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

Reply via email to