diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-15 23:29:40 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-15 23:29:40 +0000 |
| commit | d891a923bc507f28caa69f625079755d1a2083e7 (patch) | |
| tree | 03ae20f0ecd1590629ec1e720026ccf34ddaac3f /scripts/version.sh | |
moved stuff the trunk
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" + + |
