[Hackage] #256: Copying files during installation is oblivious to ~

Hackage trac at galois.com
Wed Mar 5 18:57:43 EST 2008


#256: Copying files during installation is oblivious to ~
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:                     
      Type:  defect         |       Status:  new                
  Priority:  low            |    Milestone:                     
 Component:  Cabal library  |      Version:  1.2.3.0            
  Severity:  normal         |   Resolution:                     
  Keywords:                 |   Difficulty:  very easy (<1 hour)
Ghcversion:  6.8.2          |     Platform:                     
----------------------------+-----------------------------------------------
Comment (by ross at soi.city.ac.uk):

 On my system autoconf 2.61 objects that the argument doesn't start with a
 slash:
 {{{
 % ./configure --prefix=~/local
 configure: error: expected an absolute directory name for --prefix:
 ~/local
 }}}
 That's not appropriate on Windows, of course.

 The standard behaviour is that ~ (like ? and *) is expanded when trying to
 match a whole shell argument against file names.  In other positions, one
 uses $HOME, as Ian suggested.

 I'm against expanding or warning.  If we fill the code with heuristic
 tests, it will be unmanageable.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/256#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list