[Haskell-cafe] OpenSUSE 11.2

David Virebayre dav.vire+haskell at gmail.com
Sun Feb 28 12:40:34 EST 2010


On Sun, Feb 28, 2010 at 6:30 PM, Andrew Coppin
<andrewcoppin at btinternet.com>wrote:

> Daniel Fischer wrote:
>


> if [ -z `/bin/echo ${PATH} | /usr/bin/grep cabal` ]
>
> then
>>    export PATH="/home/andrew/.cabal/bin:$PATH"
>> fi
>>
>> in your .bashrc
>>
>>
>
> Uh... what?


that snippet supposes you have cabal installed in your home directory under
the directory ".cabal". The binary file would be in the bin subdirectory of
".cabal"
Names that start with a . are hidden files/directories on linux, by the way.
So the first line checks if you have "cabal" in your path list. If not, on
the 3rd line it supposes your home directory is /home/andrew and adds the
cabal binary directory to your path list.

David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100228/44f0f3ef/attachment.html


More information about the Haskell-Cafe mailing list