Ticket #40172: patch-src-webhttrack.diff

File patch-src-webhttrack.diff, 686 bytes (added by overhacked (Ross Williams), 11 years ago)
  • src/webhttrack

    old new  
    1717BROWSEREXE="/usr/bin/open -W"
    1818fi
    1919BINWD=`dirname "$0"`
    20 SRCHPATH="$BINWD /usr/local/bin /usr/share/bin /usr/bin /usr/lib/httrack /usr/local/lib/httrack /usr/local/share/httrack /opt/local/bin /sw/bin ${HOME}/usr/bin ${HOME}/bin"
     20SRCHPATH="@PREFIX@/bin"
    2121SRCHPATH="$SRCHPATH "`echo $PATH | tr ":" " "`
    22 SRCHDISTPATH="$BINWD/../share $BINWD/.. /usr/share /usr/local /usr /local /usr/local/share ${HOME}/usr ${HOME}/usr/share /opt/local/share /sw ${HOME}/usr/local ${HOME}/usr/share"
     22SRCHDISTPATH="@PREFIX@/share"
    2323
    2424###
    2525# And now some famous cuisine