diff make-dist @ 13406:5aaab914fc6b

Break the hard link on alloca.c.
author Karl Heuer <kwzh@gnu.org>
date Mon, 06 Nov 1995 22:05:26 +0000
parents 94c647f0c13b
children 2e30fc2cbae8
line wrap: on
line diff
--- a/make-dist	Mon Nov 06 18:31:51 1995 +0000
+++ b/make-dist	Mon Nov 06 22:05:26 1995 +0000
@@ -367,9 +367,14 @@
 #### than two.  (Yes, strictly greater than 2 is correct; since we
 #### created these files by linking them in from the original tree,
 #### they'll have exactly two links normally.)
+####
+#### Commented out since it's not stricly necessary; it should suffice
+#### to just break the link on alloca.c.
 #echo "Breaking intra-tree links."
 #find ${tempdir} ! -type d -links +2 \
 #  -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \;
+rm -f $tempdir/lib-src/alloca.c
+cp $tempdir/src/alloca.c $tempdir/lib-src/alloca.c
 
 if [ "${newer}" ]; then
   echo "Removing files older than $newer."