Mark,
On Thu, 15 Jul 2004, Mark Taylor wrote:
> (cd /tmp/starconf-6463; cp -R . /)
> cp: cannot overwrite non-directory `/./mbt/starauto' with directory `./mbt/starauto'
>
> since
>
> % ls -g /mbt/starauto
> lrwxrwxrwx 1 root 12 Mar 11 11:59 /mbt/starauto -> /d1/starauto
>
> so the 'cp -R' needs to be replaced by something appropriately paranoid
> presumably involving tar/pax/find. I tracked this down to
> thirdparty/fsf/automake/lib/am/install.am and thought about fixing
> it and then chickened out - I expect there's some standard automake
> way to do this that you have at your fingertips and I don't know about.
Yech. I actually did have a tar/pax version in there, but removed it
because it was starting to look _very_ ugly, and cp -R started to look
more attractive. And I think I tested it with the case where the
top-level directory was a symlink, but not one of the ones lower down --
drat.
Oddly enough, I don't think there is a standard automake way of
installing complete trees, but I'll take a second look.
Norman
--
---------------------------------------------------------------------------
Norman Gray http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK [log in to unmask]
|