[chora] Installation Instructions
rpm at keynetics.com
rpm at keynetics.com
Sun Nov 14 20:57:29 PST 2004
This is most likely due to using the csh shell and not bash.
On freebsd do this:
cd /usr/ports/shells/bash2
make install clean
rehash
Then, before you run the for loop, type bash to switch shells.
-----Original Message-----
From: chora-bounces at lists.horde.org
[mailto:chora-bounces at lists.horde.org] On Behalf Of Gerard Samuel
Sent: Sunday, November 14, 2004 7:58 PM
To: Jan Schneider
Cc: chora at lists.horde.org
Subject: Re: [chora] Installation Instructions
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.
The addition, that I provided, is just another way of doing things...
--
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail:
chora-unsubscribe at lists.horde.org
More information about the chora
mailing list