changeset 91:559603be1678

Do hard links when creating temporary linux directory. (Patch breaks 'em.)
author Rob Landley <rob@landley.net>
date Fri, 09 Nov 2007 19:56:46 -0600
parents 1d853842db62
children fdf64e606a2a
files make/functions.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/functions.sh	Fri Nov 09 19:56:05 2007 -0600
+++ b/make/functions.sh	Fri Nov 09 19:56:46 2007 -0600
@@ -238,9 +238,9 @@
   rm -rf "$LNXDIR"/temp &&
   mkdir "$LNXDIR"/temp &&
   # Building out of tree conflicts with patching the files, so copy.
-  cp -r "$LNXDIR"/hg/* "$LNXDIR"/temp &&
+  cp -lr "$LNXDIR"/hg/* "$LNXDIR"/temp &&
   (
-    cd "$LNXDIR"/hg
+    cd "$LNXDIR"/temp
     # Apply patches
     for i in "$WEBDIR"/make/patches/*.patch
     do