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

[Xen-changelog] Fix install script to follow symlinks.



ChangeSet 1.1159.256.59, 2005/03/18 09:05:06+00:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Fix install script to follow symlinks.
        Signed-off-by: Paul Larson <pl@xxxxxxxxxx>
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 install.sh |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)


diff -Nru a/install.sh b/install.sh
--- a/install.sh        2005-03-18 05:04:30 -05:00
+++ b/install.sh        2005-03-18 05:04:30 -05:00
@@ -32,9 +32,7 @@
   [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xenU
 done
 cd -
-cp -fdR $src/* $dst
-# hack to fixup the case that init.d is a symlink
-cp -fdR $src/etc/init.d/* $dst/etc/init.d/
+cp -fdRL $src/* $dst
 echo "All done."
 
 echo "Checking to see whether prerequisite tools are installed..."


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-changelog


 


Rackspace

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