[tex-live] wrong links with --disable-multiplatform

Karl Berry karl at freefriends.org
Mon May 12 01:44:42 CEST 2008


    Here is a patch, that works for me:

Thanks for trying, but when I run this in my Work-ing directory, I get
the "not found" error for every linked script.  The right fix is not
immediately apparent to me.

--- Build/source/texk/texlive/Makefile.in.orig	2008-05-10 20:55:36.000000000 +0200
+++ Build/source/texk/texlive/Makefile.in	2008-05-10 20:55:08.000000000 +0200
@@ -84,7 +84,15 @@
          target=$(scriptdir)/`basename $$s | sed 's,\.[^/]*$$,,' | tr A-Z a-z`; \
          target=$$target$(LINKSUFFIX); \
          rm -f $$target; \
-	  ln -s ../../$$s $$target; \
+	  if [ -f $(scriptdir)/../$$s ]; then \
+	    s=../$$s; \
+	  elif [ -f $(scriptdir)/../../$$s ]; then \
+	    s=../../$$s; \
+	  else \
+	    echo Error: $$s not found; \
+	    false; \
+	  fi; \
+	  ln -s $$s $$target; \
        done

 install-linked-sys-scripts:





More information about the tex-live mailing list