Changeset 4997 in genesis for tools


Ignore:
Timestamp:
Nov 5, 2005, 12:29:29 PM (19 years ago)
Author:
dirkx
Message:

better diff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/config-node.sh

    r4990 r4997  
    1414# 1.04  Add auto read-only detection. (dirkx)
    1515# 1.05  Cope with WHOST containing a port number. (dirkx).
     16# 1.06  Better diff (dirkx)
    1617#
    1718# If there is a global system configuration file, suck it in.
     
    2425HTTP_PROXY_DEFAULT=${HTTP_PROXY:-http://proxy.wleiden.net:3128}
    2526HTTP_USER_AGENT=${HTTP_USER_AGENT:-curl.faked.fetch/0.0}
    26 VERSION=1.05
     27VERSION=1.06
    2728QUIET=${QUIET:-}
    2829PRETEND=no
     
    244245
    245246do_diff() {
    246         if test -e $1; then
    247                 diff -uwbB $1 $1.new
     247        if test -e $lcd/$1; then
     248                diff -uwbB $lcd/$1 $1.new
    248249        else
    249250                echo Warning: $1 does not yet exist - no DIFF
Note: See TracChangeset for help on using the changeset viewer.