diff options
| author | Paul Buetow <paul@buetow.org> | 2010-11-21 16:18:43 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2010-11-21 16:18:43 +0000 |
| commit | 7fa0ff180b35e7fef218f0b9113d7e0f3f9b54a8 (patch) | |
| tree | e45ffca8cf18ac5d00a2928229d8a717a3718669 /scripts/version.sh | |
| parent | c155ee9e0f133aafff70984f5b09c45efc62ca5a (diff) | |
| parent | 55b08bd93257d32df76efc4e8e3f49311c39ee82 (diff) | |
Diffstat (limited to 'scripts/version.sh')
| -rwxr-xr-x | scripts/version.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/version.sh b/scripts/version.sh new file mode 100755 index 0000000..2f919ba --- /dev/null +++ b/scripts/version.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# The yChat Project (2005) +# +# This script shows yChat VERSION-BRANCH Build BUILDNUMBER + +version=`grep VERSION src/build.h | head -n 1 | cut -d'"' -f2` +branch=`grep BRANCH src/build.h | head -n 1 | cut -d'"' -f2` +build=`grep BUILD src/build.h | tail -n 1 | cut -d' ' -f3` +echo "yChat $version-$branch Build $build" + + |
