Bug#381871: bash'ism in script

2006-08-07 Thread Alexander Vlasov
Package: tremulous
Version: 1.1.0-2

tremulous using bashism in /usr/games/tremulous, but has /bin/sh in
shebang line.
Here follows example:

~$ tremulous
[: 32: ==: unexpected operator
tremulous 1.1.0 linux-x86 Jul 14 2006

[--skip--]

So can you please correct script or change shebang to /bin/bash?
-- 
Alexander Vlasov
ZULU-UANIC
JID: zulu  jabber.kiev.ua



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#381871: bash'ism in script

2006-08-07 Thread Heretik
Le lundi 07 août 2006 à 17:51 +0300, Alexander Vlasov a écrit :
> Package: tremulous
> Version: 1.1.0-2
> 
> tremulous using bashism in /usr/games/tremulous, but has /bin/sh in
> shebang line.
> Here follows example:
> 
> ~$ tremulous
> [: 32: ==: unexpected operator
> tremulous 1.1.0 linux-x86 Jul 14 2006
> 
> [--skip--]
> 
> So can you please correct script or change shebang to /bin/bash?

I'd like it to be compatible with most shells.

To what binary does your /bin/sh points ?
Or is it a real sh binary ? If so, from what package ?

if you change :
if [ ${QUIET} == 1 ]; then
to :
if [ ${QUIET} = 1 ]; then

does it solve your problem ?

-- 
Heretik <[EMAIL PROTECTED]>