[parisc-linux-cvs] linux amodra

Alan Modra alan@linuxcare.com.au
Fri, 23 Feb 2001 18:18:40 +1100 (EST)


On Fri, 23 Feb 2001, Alan Modra wrote:

> Make links for existing symbolic links too.

I'm in the habit of building kernels in a separate dir from the source by
doing "cp -srdp <path_to_src>/linux linux".

Index: arch/parisc64/do_links
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc64/do_links,v
retrieving revision 1.8
diff -u -p -r1.8 do_links
--- do_links	2001/02/02 05:55:11	1.8
+++ do_links	2001/02/23 06:52:33
@@ -86,7 +86,7 @@ symlinkdir()
 	done
 
     # symlink the unique files
-    FIND $source -type f |
+    FIND $source \( -type f -o -type l \) |
 	while read fname
 	do
 	    dots=$(dots $fname)