I've posted a simple fix for symlinks quite a while ago, but I found a
more fragile variant in CVS today.  I'd like to suggest something like
I have been using, below.

Greetings,
Jan.


2003-03-16  Jan Nieuwenhuizen  <[EMAIL PROTECTED]>

        * bin/mknetrel.pats2 (dousrstuff): Don't fail if usr/bin is absent.


--- mknetrel    8 Jan 2003 01:35:03 -0000       1.43
+++ mknetrel    16 Mar 2003 12:44:02 -0000
@@ -322,8 +322,7 @@
 
     rm -rf i686-pc-cygwin
 
-    cd bin
-    for f in *; do
+    (cd bin && for f in *; do
        case "$f" in
            *.exe|*\*) continue ;;
        esac
@@ -337,9 +336,8 @@
                ln -s $ln.exe $f.exe
                ;;
        esac
-    done
+    done)
 
-    cd ..
     for f in bin/* sbin/*; do
        case "$f" in
            *.exe) ;;
        


-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

Reply via email to