[cvs-nhc98] syntax error in `sh start`

Isaac Dupree isaacdupree at charter.net
Tue Feb 27 18:29:05 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


darcs get http://darcs.haskell.org/nhc98/
cd nhc98/
sh start

At various times it outputs,
[: 24: ==: unexpected operator
sometimes followed by "Invalid repository: (whatever)"

The line in the 'start' script
  if [ "$pkgname" == "$package" ]
should be
  if [ "$pkgname" = "$package" ]
(at least, changing it like that made it work for me, as it should,
seeing `man [`.)

P.S. It seems my darcs (1.0.8 (release)) sometimes hangs on partial gets
and has to be kill -9'ed or equivalent -- I had to restart it for HaXML
here (earlier I gave up on --partial for ghc repo)...

I hope to be able to verify the "easy to install" claim made on
http://www.haskell.org/nhc98/ ... given my architecture(powerpc) and my
OS(ubuntu linux, currently), there were no binaries/automatic
installation, and last time I tried compiling it from source (version
1.18 I think) I got some errors (real ones, rather than GCC's regularly
crashing non-reproducibly on my machine)... When the build is over I
guess I'll report on the results  :)

Isaac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5L7BHgcxvIWYTTURAl8MAJ0etfMGGOGF34oYA09HrpLyxQHwKACfRtcy
rCV5YfrzeYVTTUPjqahNSFg=
=t/cq
-----END PGP SIGNATURE-----


More information about the Cvs-nhc98 mailing list