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 14 14 # Darwin/Mac OS X uses a system 'open' command to find 15 15 # the default browser. The -W flag causes it to wait for 16 16 # the browser to exit 17 17 BROWSEREXE="/usr/bin/open -W" 18 18 fi 19 19 BINWD=`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"20 SRCHPATH="@PREFIX@/bin" 21 21 SRCHPATH="$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"22 SRCHDISTPATH="@PREFIX@/share" 23 23 24 24 ### 25 25 # And now some famous cuisine 26 26 27 27 function log { 28 28 echo "$0($$): $@" >&2