~ubuntu-branches/ubuntu/saucy/irssi-plugin-otr/saucy-proposed

« back to all changes in this revision

Viewing changes to cmake-extensions/Git.cmake

  • Committer: Bazaar Package Importer
  • Author(s): David Spreen
  • Date: 2009-02-16 16:33:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216163328-huzenu0s2j3uvlk3
Tags: 0.3-1
* New upstream release.
* First upload to unstable after 0.2. Introduces xchat-otr
  to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#
6
6
MACRO(FIND_GIT_TAGORCOMMIT GITDIR CMAKEVAR)
7
7
  EXECUTE_PROCESS(COMMAND bash -c 
8
 
    "GITCOMMIT=`git-log | head -n1 | cut -d' ' -f2`;\\
 
8
    "GITCOMMIT=`git log | head -n1 | cut -d' ' -f2`;\\
9
9
     if [ -z \"$GITCOMMIT\" ]; then exit 1;fi; \\
10
10
     GITTAG=`cd .git/refs/tags && grep $GITCOMMIT * | cut -d: -f1` ;\\
11
11
     if [ -n \"$GITTAG\" ]; then \\