Ticket #1242 (closed bug: fixed)
darcs-all needs Bash but has #!/bin/sh
Description
I get the following error trying to run ./darcs-all get --extra on Ubuntu Edgy:
luke@kryptonitespoon ghc $ ./darcs-all get --extra [: 126: ==: unexpected operator warning: adding --partial, to override use --complete == running darcs get --partial --extra http://darcs.haskell.org/packages/base darcs failed: unrecognized option `--extra'
Note that the "unexpected operator" message always appears, with or without --extra. However, it appears that there's a processing loop that gets skipped because of the error, and so the --extra gets passed on to darcs.
If I change the shebang line to "#!/bin/bash", it works. My guess is that either the Bash-ism should be removed, or the shebang line should specify Bash.
Change History
Note: See
TracTickets for help on using
tickets.
