summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-11-06 22:05:26 +0000
committerKarl Heuer <kwzh@gnu.org>1995-11-06 22:05:26 +0000
commit6a432a3f5cbd139787055f937ff69caaa11199f0 (patch)
tree970cb8c25b8dd1dc19f956afbdfad546867d4f3b /make-dist
parent7fce4085e63dea9ed9ca158b61fd5e17f6191161 (diff)
downloademacs-6a432a3f5cbd139787055f937ff69caaa11199f0.tar.gz
Break the hard link on alloca.c.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-dist b/make-dist
index 004e83560aa..dbef3e9351d 100755
--- a/make-dist
+++ b/make-dist
@@ -367,9 +367,14 @@ done
#### 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."