Le Tue, Feb 04, 2003 at 08:25:13PM +0100, Sven Hoexter écrivait: > --- Makefile.orig 2003-02-04 20:23:16.000000000 +0100 > +++ Makefile 2003-02-04 18:37:23.000000000 +0100 > @@ -658,7 +658,7 @@ > rm -rf base-images-*; \ > if [ "$(SYMLINK)" != "" ]; then exit 0; fi; \ > if [ -L current ]; then \ > - CURRENT_LINK=`ls -l current | awk '{print $$11}'`; \ > + CURRENT_LINK=`ls -l current | awk '{print $$10}'`; \ > mv $$CURRENT_LINK .tmp_link; \ > rm -rf [0123456789]*; \ > mv .tmp_link $$CURRENT_LINK; \ > > Had somebody else the same problem or am I the first?
You're the first as far as I know. But this code is so ugly that it could only broke sooner or later. We'd better replace that with "readlink current" ... I'm going to commit that change. Cheers, -- Raphaël Hertzog -+- http://www.ouaza.com Formation Linux et logiciel libre : http://www.logidee.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]