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

[Xen-devel] [PATCH] (trivial) simple fix for install.sh not working on symlinked dirs


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • From: Paul Larson <pl@xxxxxxxxxx>
  • Date: Thu, 17 Mar 2005 13:55:49 -0600
  • Delivery-date: Thu, 17 Mar 2005 20:28:39 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

This simple fix seems to work for me.  With the -L it will follow
symlinks so that symlinked /lib/python and /etc/init.d get the files
copied to them correctly on install.

-- 
Thanks,
Paul Larson
pl@xxxxxxxxxx
IBM Linux Technology Center

Signed-off-by: pl@xxxxxxxxxx

--- install.sh  2005-03-06 16:14:56.000000000 -0600
+++ dist/install.sh     2005-03-16 16:44:25.779315000 -0600
@@ -32,7 +32,7 @@
   [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xenU
 done
 cd -
-cp -fdR $src/* $dst
+cp -fdRL $src/* $dst
 echo "All done."

 echo "Checking to see whether prerequisite tools are installed..."

Attachment: signature.asc
Description: This is a digitally signed message part


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.