[Hackage] #353: pushd and popd commands used in cabal-install/bootstrap.sh #!/bin/sh not in bourne shell

#353: pushd and popd commands used in cabal-install/bootstrap.sh #!/bin/sh not in bourne shell ----------------------------------+----------------------------------------- Reporter: leif | Owner: Type: defect | Status: new Priority: low | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: normal | Keywords: Difficulty: very easy (<1 hour) | Ghcversion: 6.8.3 Platform: Other Unix | ----------------------------------+----------------------------------------- So on my FreeBSD system, on those lines, it just says "command not found", and it fails. This isn't a problem on Linux, where /bin/sh is a symlink to /bin/bash, but FreeBSD and Solaris have an actual bourne shell, which doesn't support those commands. I don't know what the behavior on MacOS X is. I can change it to use a different shell, or change the 'pushd' and 'popd' commands to cd, and then 'cd -' or 'cd ..' -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/353 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#353: pushd and popd commands used in cabal-install/bootstrap.sh #!/bin/sh not in bourne shell ---------------------------------+------------------------------------------ Reporter: leif | Owner: Type: defect | Status: closed Priority: low | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: normal | Resolution: fixed Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.3 | Platform: Other Unix ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Fixed already. If you'd like to check the current version works ok on FreeBSD that'd be great. http://darcs.haskell.org/cabal-install/bootstrap.sh -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/353#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage