Changeset 8573


Ignore:
Timestamp:
May 31, 2009, 8:25:37 PM (12 years ago)
Author:
charles
Message:

(trunk) tweak r8572.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/autogen.sh

    r8572 r8573  
    2323export LIBTOOLIZE
    2424
    25 update-version-h.sh
     25./update-version-h.sh
    2626
    2727autoreconf -fi -I m4
  • trunk/update-version-h.sh

    r8572 r8573  
    99fi
    1010
    11 cat > libtransmission/version.h.new << EOF
     11cat > libtransmission/version.h << EOF
    1212#define PEERID_PREFIX         "${peer_id_prefix}"
    1313#define USERAGENT_PREFIX      "${user_agent_prefix}"
     
    1717#define LONG_VERSION_STRING   "${user_agent_prefix} (${svn_revision})"
    1818EOF
    19 
    20 cmp -s libtransmission/version.h.new libtransmission/version.h
    21 cat libtransmission/version.h.new
    22 if [ $? -eq 0 ] # test exit status of "cmp" command.
    23 then
    24   echo "no update needed to version.h"
    25   rm libtransmission/version.h.new
    26 else 
    27   echo "updated version.h"
    28   mv libtransmission/version.h.new libtransmission/version.h
    29 fi
Note: See TracChangeset for help on using the changeset viewer.