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

[Xen-changelog] Fix install.sh script so that it doesn't dereference all symlinks.



ChangeSet 1.1159.258.152, 2005/05/22 11:30:02+01:00, iap10@xxxxxxxxxxxxxxxxxxxxx

        Fix install.sh script so that it doesn't dereference all symlinks.
        Signed-off-by: ian@xxxxxxxxxxxxx



 install.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


diff -Nru a/install.sh b/install.sh
--- a/install.sh        2005-05-23 20:02:35 -04:00
+++ b/install.sh        2005-05-23 20:02:35 -04:00
@@ -23,7 +23,8 @@
 fi
 
 echo "Installing Xen from '$src' to '$dst'..."
-cp -fdRL $src/* $dst
+(cd $src; tar -cf - --exclude etc/init.d * ) | tar -C $dst -xf -
+cp -fdRL $src/etc/init.d/* $dst/etc/init.d/
 echo "All done."
 
 echo "Checking to see whether prerequisite tools are installed..."

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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