Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #204 (closed defect: invalid)

Opened 21 months ago

Last modified 20 months ago

Spaces in username causes cabal errors

Reported by: egwor Owned by:
Priority: major Milestone:
Component: (none-specified) Keywords: cabal spaces
Cc:

Description

Hopefully I've come to the right place!

Issue

pwd
/Users/egwor (new)

Since there's a space in the directory name there's an issue when trying to run cabal update

 cabal update
/usr/bin/cabal: line 115: [: /Users/egwor: binary operator expected

Looking at the code, should the ${cabal_config} be in inverted commas??

112 CONFIG_END
113     fi
114 
115     if [ \! -e ${cabal_config} ]
116     then

changes to

112 CONFIG_END
113     fi
114 
115     if [ \! -e "${cabal_config}" ]
116     then

Change History

Changed 21 months ago by egwor

  • keywords cabal added; cobal removed

Changed 21 months ago by egwor

  • summary changed from Spaces in username causes cobal errors to Spaces in username causes cabal errors

Changed 20 months ago by refold

  • status changed from new to closed
  • resolution set to invalid

This is a Cabal bug, please use the Cabal issue tracker: https://github.com/haskell/cabal/issues/new

Note: See TracTickets for help on using tickets.