Ignore:
Timestamp:
Jun 2, 2009, 1:00:51 AM (13 years ago)
Author:
jhujhiti
Message:

(trunk) fix an awk oops (thanks to geirha on freenode)

File:
1 edited

Legend:

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

    r8577 r8587  
     1#!/bin/bash
    12echo "creating libtransmission/version.h"
    23
     
    89    svn_revision=`svnversion -n | cut -d: -f1 | cut -dM -f1 | cut -dS -f1`
    910else
    10     svn_revision=`awk '/\$Id: /{ if ($4>i) i=$4 } END {print i}' */*.{cc,[chm]}`
     11    svn_revision=$(awk '/\$Id: /{ if ($4>i) i=$4 } END {print i}' */*.{cc,[chm]})
    1112fi
    1213
Note: See TracChangeset for help on using the changeset viewer.