diff options
| author | Paul Buetow <paul@buetow.org> | 2009-01-27 23:25:11 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2009-01-27 23:25:11 +0000 |
| commit | 498c570e089b41f122584ace973a69b7590232cd (patch) | |
| tree | e45ffca8cf18ac5d00a2928229d8a717a3718669 /scripts/version.sh | |
| parent | 5dcfbb71e9e44b33caefe80f2a5d8ccd3431f3d9 (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" + + |
