WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix install.sh script so that it doesn't dereference all symlinks.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Sun, 22 May 2005 10:30:02 +0000
Delivery-date: Sun, 22 May 2005 17:05:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1886, 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-22 13:06:14 -04:00
+++ b/install.sh        2005-05-22 13:06:14 -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

<Prev in Thread] Current Thread [Next in Thread>