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

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


  • To: "Paul Larson" <pl@xxxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
  • Date: Thu, 17 Mar 2005 21:09:55 -0000
  • Cc: <ian.pratt@xxxxxxxxxxxx>
  • Delivery-date: Thu, 17 Mar 2005 21:11:19 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
  • Thread-index: AcUrL/yn40tJj1itRz6MWr+yel+CSAABWpDQ
  • Thread-topic: [Xen-devel] [PATCH] (trivial) simple fix for install.sh not working on symlinked dirs

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

Nice, thanks.
We can remove the skank fix I came up with for 2.0.5...

Ian

> -- 
> 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..."
> 
> 


-------------------------------------------------------
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_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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