Paul Larson
2005-Mar-17 19:55 UTC
[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. -- Thanks, Paul Larson pl@us.ibm.com IBM Linux Technology Center Signed-off-by: pl@us.ibm.com --- 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..."
Ian Pratt
2005-Mar-17 21:09 UTC
RE: [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@us.ibm.com > IBM Linux Technology Center > > Signed-off-by: pl@us.ibm.com > > --- 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. ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net lists.sourceforge.net/lists/listinfo/xen-devel