[Dirvish] Probably some error
paul at debian.org
Fri Feb 18 04:03:39 PST 2005
On Wed 16 Feb 2005, nawirb wrote:
> I download dirvish 1.2 from
> http://www.dirvish.org/dirvish_1.2.orig.tar.gz, and
> try to install in Solaris 9 SPARC with perl 5.8.x
> # sh install.sh
> perl to use (/usr/local/bin/perl)
> What installation prefix should be used? () /usr/local
> install.sh: test: unknown operator ==
> So I modified a bit that install.sh
> change "#! /bin/sh" to "#!/bin/sh"
This shouldn't be necessary; in fact, generally the space is preferable
as then the first 4 bytes of the file are "#! /" which can be used as a
magic (32-bits) number.
> change "if [ "$PREFIX" == "/" ]" to "if [ "$PREFIX" =
> "/" ]"
Ah, yes. "==" is a bashism, which only works with bash, and not with
> Then the script can run.
> Do you have newer version already?
Not yet, but I'm pretty certain that this fix will be in the next
More information about the Dirvish