From: Paul Larson Subject: [PATCH] (trivial) simple fix for install.sh not working on symlinked dirs Date: Thu, 17 Mar 2005 13:55:49 -0600 Message-ID: <1111089349.4912.20.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-iX4WBfneMaSDhbdf+hlN" Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel List-Id: xen-devel@lists.xenproject.org --=-iX4WBfneMaSDhbdf+hlN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. --=20 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..." --=-iX4WBfneMaSDhbdf+hlN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCOeDDBwrpIrndMlIRAuKDAJ4kcr4UB7dY4H6pyMoDMxc3a8UcUwCgs7Li CyWe0R3VKhfiQsWpt0eWHeo= =Z1sa -----END PGP SIGNATURE----- --=-iX4WBfneMaSDhbdf+hlN-- ------------------------------------------------------- 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_id=6595&alloc_id=14396&op=click