#2413: Chapter 5 - GCC Pass 2 - changing dynamic linker location
-----------------------------------------+----------------------------------
 Reporter:  ger...@…                     |       Owner:  lfs-b...@…             
      
     Type:  task                         |      Status:  new                    
      
 Priority:  normal                       |   Milestone:  7.0                    
      
Component:  Book                         |     Version:  SVN                    
      
 Severity:  normal                       |    Keywords:                         
      
-----------------------------------------+----------------------------------
 Current method:

 for file in \
  $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
 do


 This can probably be much simplified and shortened by using:

 for file in gcc/config/linux64.h gcc/config/linux.h gcc/config/sysv4.h; do
 ...
 done

 I think that construct is easier to understand. Using the find command
 seems overkill here to specify a mere three files in sequence.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2413>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to