tetex 2.96 beta texlinks uses "nonstandard" access

Reinhard Kotucha <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
>>>>> "ezra" == ezra peisach <[email protected]> writes:

    > Irix does not provide the program "access"

    > texk/texlinks uses the program "access" instead of test in the
    > search_symlinkdir() function.


--- texk/tetex/texlinks.orig    Thu Dec 25 22:33:17 2003
+++ texk/tetex/texlinks Mon May 10 21:42:38 2004
@@ -188,7 +188,7 @@
   kpsewhich=`check_for_binary kpsewhich`
   test -z "$kpsewhich" && return 1
   symlinkdir=`echo $kpsewhich | sed 's@/*kpsewhich$@@'`
-  access -w "$symlinkdir" || return 1
+  kpseaccess -w "$symlinkdir" || return 1
   touch "$symlinkdir/tl$$"
   if test -f "$selfautoloc/tl$$"; then
     rm -f "$symlinkdir/tl$$"
@@ -275,7 +275,7 @@
   fi
   
   for d in $dirs; do
-    access -w $d \
+    kpseaccess -w $d \
       || { errmsg "$d: no write permissions. Skipping..."; continue; }
     # cnf_file_ln.$$ has lines with "format engine" pairs
     set x `cat cnf_file_ln.$$`; shift



Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:[email protected]
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.