]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
always use cp -rf instead of ln -s, as suggested by Richard Dawe
authorAlexandre Duret-Lutz <adl@gnu.org>
Tue, 11 Feb 2003 12:37:00 +0000 (12:37 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Tue, 11 Feb 2003 12:37:00 +0000 (12:37 +0000)
bootstrap

index 4c695edd15e38d3ee413e3a1790da23719d5fe87..3d6267e48fbac27a355453e04587c43ba7a71a9e 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -75,10 +75,10 @@ fi
 rm -rf aclocal-$APIVERSION
 mkdir aclocal-$APIVERSION
 rm -rf automake-$APIVERSION
-ln -s lib automake-$APIVERSION >/dev/null 2>&1 || {
-  mkdir automake-$APIVERSION
-  cp -arf lib/* automake-$APIVERSION
-}
+# Can't use `ln -s lib automake-$APIVERSION',
+# that would create a lib.exe stub under DJGPP 2.03.
+mkdir automake-$APIVERSION
+cp -rf lib/* automake-$APIVERSION
 
 # Create temporary replacement for aclocal
 sed -e "s%@PERL@%$PERL%g" \