Launchpad has imported 1 comments from the remote bug at
https://bugzilla.xfce.org/show_bug.cgi?id=10828.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-04-17T23:54:23+00:00 score_under wrote:

Created attachment 5438
patch generated by git diff

The command line arguments "--help" and "--with-ck-launch" can't be used
on systems which have a non-bash /bin/sh (e.g. Debian, as far as I'm
aware). This is due to the use of "==" instead of "=" in test commands,
which is a bash extension.

I discovered this with the "checkbashisms" perl script while switching
my /bin/sh from bash to dash on Arch.

To verify (with dash installed):

DISPLAY=invalid  # Avoid actually launching xfce; this should prevent it
dash "$(which startxfce4)" --help

It should output usage information, but what it actually outputs is the
following:

/usr/bin/startxfce4: 27: test: x--help: unexpected operator
/usr/bin/startxfce4: 40: test: x--help: unexpected operator
/usr/bin/startxfce4: X server already running on display invalid
xrdb: Can't open display 'invalid'
xfce4-session: Cannot open display: .
Type 'xfce4-session --help' for usage.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1356328/comments/0


** Changed in: xfce4-session
       Status: Unknown => Confirmed

** Changed in: xfce4-session
   Importance: Unknown => Medium

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

Title:
  startxfce4 can't be used with --with-ck-launch

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-session/+bug/1356328/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to