Ignore:
Timestamp:
Jun 1, 2009, 12:43:01 AM (13 years ago)
Author:
charles
Message:

(trunk) "perl -r" wasn't portable to os x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/update-version-h.sh

    r8574 r8576  
     1echo "creating libtransmission/version.h"
     2
    13user_agent_prefix=`grep m4_define configure.ac | sed "s/[][)(]/,/g" | grep user_agent_prefix  | cut -d , -f 6`
    24
     
    46
    57if [ -d .svn ]; then
    6     svn_revision=`svnversion | sed -r 's/([0-9]+).*/\1/' `
     8    svn_revision=`svnversion -n | cut -d: -f1 | cut -dM -f1 | cut -dS -f1`
    79else
    810    svn_revision=`grep -oh '\$Id: [^ ]\+ [0-9]\+' */*\.cc */*\.[chm] | cut -d ' ' -f 3 | sort | tail -n 1 -`
Note: See TracChangeset for help on using the changeset viewer.