Ticket #40435: patch-src-webhttrack.diff

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

    old new  
    1414# Darwin/Mac OS X uses a system 'open' command to find
    1515# the default browser. The -W flag causes it to wait for
    1616# the browser to exit
    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
    2626
    2727function log {
    2828echo "$0($$): $@" >&2