* bootstrap: Use $LN_S instead of `ln -s'.
---
 bootstrap | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/bootstrap b/bootstrap
index 2b17d7dd..016ba5a1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -92,6 +92,10 @@ done
 : ${PERL=perl}
 export ACLOCAL AUTOMAKE M4 PERL
 
+# Allow `ln -s' to be overridden by the user.
+: ${LN_S="ln -s"}
+export LN_S
+
 # $PERL needs to be an absolute path because we're going to substitute it
 # into #! lines.
 set fnord $PERL
@@ -221,7 +225,8 @@ mkdir "$ACBOOTDIR"/bin "$ACBOOTDIR"/lib "$ACBOOTDIR"/tmp
         if [ -n "$verbose" ]; then
             printf '%s: creating %s\n' "$me" "$ACBOOTDIR/lib/$sub"
         fi
-        ln -s ../../lib/$sub .
+        $LN_S ../../lib/$sub .
+
     done
 )
 
-- 
2.42.0


Reply via email to