[BACK]Return to patch-ad CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mbone / sdr / patches

Annotation of pkgsrc/mbone/sdr/patches/patch-ad, Revision 1.11

1.11    ! agc         1: $NetBSD: patch-ad,v 1.10 2000/12/17 09:39:53 hubertf Exp $
1.8       hubertf     2:
1.10      hubertf     3: --- ../src/sdr.tcl.orig        Mon Sep  4 18:30:39 2000
                      4: +++ ../src/sdr.tcl
                      5: @@ -4457,7 +4457,7 @@
                      6:
                      7:  # find where we are installed
                      8:  set app_name $argv0
                      9: -while {[file type $app_name] == "link"} {
                     10: +while {([file isfile $app_name]) && ([file type $app_name] == "link")} {
                     11:      # don't worry about recursion since we know app must exist.
                     12:      set app_name [file readlink $app_name]
1.9       hubertf    13:  }
1.10      hubertf    14: @@ -4470,6 +4470,7 @@
                     15:        $app_home/sdr/plugins \
                     16:        $app_home/plugins \
                     17:        $app_home/../plugins \
1.11    ! agc        18: +      @PREFIX@/etc/sdr/plugins \
1.10      hubertf    19:        /usr/local/etc/sdr/plugins \
                     20:        [resource sdrHome]/plugins \
                     21:  ]
                     22: @@ -4538,7 +4539,7 @@
                     23:
                     24:  # find where we are installed
                     25:  set app_name $argv0
                     26: -while {[file type $app_name] == "link"} {
                     27: +while {([file isfile $app_name]) && ([file type $app_name] == "link")} {
                     28:      # don't worry about recursion since we know app must exist.
                     29:      set app_name [file readlink $app_name]
1.9       hubertf    30:  }

CVSweb <webmaster@jp.NetBSD.org>