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
commitbb7e0f816e461c7751828375a8090a21ce2c9258 (patch)
tree69791b951c4114e1e7aff7ae8f075c4c08e357c0 /make-dist
parent2f004501b960b3e62e88bf52933c5b02034d6988 (diff)
downloademacs-bb7e0f816e461c7751828375a8090a21ce2c9258.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."