discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem building from scratch... (SSL.bundle modification)


From: Erik Dalen
Subject: Re: Problem building from scratch... (SSL.bundle modification)
Date: Tue, 11 Dec 2001 09:08:34 +0100 (CET)

On Mon, 10 Dec 2001, Chris B. Vetter wrote:

> On Mon, 10 Dec 2001 13:36:58 -0800
> Chris B. Vetter <chrisv@web4inc.com> wrote:
> > > rm -rf /System/Library/Bundles/libgmodel.bundle; \
> > > tar -chf - --exclude=libgmodel.bundle/Contents/Resources \
> > >              libgmodel.bundle \
> > >     | (cd /System/Library/Bundles; tar xf -); \
> > > (cd /System/Library/Bundles/libgmodel.bundle/Contents; \
> > >     rm -f Resources; ln -s ../Resources .)
> > > rm: `Resources' is a directory
> > > ln: `./Resources': cannot overwrite directory
> > > any suggestions?
> >   rm -f Resources
> > assumes that Resources is a file. Since it's a directory it
> > should be
> >   rm -rf Resources
>
> Ugh, I just realized - on my system, ./Resources is already linked
> to ../Resources. So 'rm -rf' would be a BAD idea ...
>

but rm -rf on a symlink only deletes the symlink not what it's linked to.

/Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]