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-devel

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

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] (trivial) simple fix for install.sh not working on symlinked dirs
From: Paul Larson <pl@xxxxxxxxxx>
Date: Thu, 17 Mar 2005 13:55:49 -0600
Delivery-date: Thu, 17 Mar 2005 20:28:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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

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