[chora] Installation Instructions

Jan Schneider jan at horde.org
Mon Nov 15 02:06:58 PST 2004


Zitat von Gerard Samuel <chora at trini0.org>:

> Jan Schneider wrote:
>
>> Zitat von Gerard Samuel <chora at trini0.org>:
>>
>>> I've been installing/using Chora for a while now, and for some reason,
>>> the instructions to copy the config files
>>> for f in *.dist; do cp $f `basename $f .dist`; done
>>> doesn't work on my system, and I usually end up copying them by hand.
>>
>>
>> Why doesn't it work?
>
>
> Im not fluent on shell scripting, but this is what I get on FreeBSD ->
> hivemind# for f in *.dist ; do cp $f `basename $f .dist` ; done
> for: Command not found.
> f: Undefined variable.
>
> I dont have the "for" command on my system.

You're probably using a C shell. Can you try the following:

foreach f (*.dist); cp $f `basename $f .dist`; end

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the chora mailing list