RE: Installation Instructions

<[email protected]> Sun, 14 Nov 2004 21:57:29 -0700
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
 
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: [email protected]
[mailto:[email protected]] On Behalf Of Gerard Samuel
Sent: Sunday, November 14, 2004 7:58 PM
To: Jan Schneider
Cc: [email protected]
Subject: Re: [chora] Installation Instructions

Jan Schneider wrote:

> Zitat von Gerard Samuel <[email protected]>:
>
>> 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:
[email protected]


-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]