This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: proposed bootstrap changes


    Something like this?

    unstage2:
	-if test -d stage2; then \
	  for i in stage2/* ; do \
	    if test -d stage2/$i; then \
	      mv stage2/$i/* $i/.; \
	    else \
	      mv stage2/$i .; \
	    fi \
	  done \
	fi
	-rm -rf stage2 stage3 stage4 stage2_build stage2_copy

I guess, though one file at a time is going to be pretty expensive.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]