https://bugs.kde.org/show_bug.cgi?id=464987

--- Comment #4 from [email protected] ---
(In reply to Sven Brauch from comment #3)
> Is this bug report "it doesn't work in Debian and Ubuntu as-is", or is it
> "my linter says it might not work in Debian and Ubuntu as-is"?

It is a report about using `#!/bin/sh` shebang in a non POSIX-compliant script,
which should be a bug by it self, since `#!/bin/sh` should be only used in
POSIX-compliant scripts.

I did use a linter in my whole /usr/bin directory to check if I can use the
`dash` shell as my default shell, and I found this script using things like `if
[[ "$1" == "" ]]` rather then `if [ "$1" = "" ]`. I know that this command will
not work in the `dash` shell and I tested it, so it's not just a warning from
the linter.

I didn't test it in Ubuntu or Debian, but if the `dash` shell is used it will
give a `dash: 1: [[: not found` error for this test statement.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to