summaryrefslogtreecommitdiff
path: root/scripts/version.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:41 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:41 +0200
commitae4e87df37ed8904de92c7cf2f3a11128cda2a21 (patch)
tree5333f2930165cc6e4083ce15154799626ddb3d03 /scripts/version.sh
parent9cd3ccffd5372dfde3af478e3f832f18db4be3f1 (diff)
tagging ychat-0.7.4.1ychat-0.7.4.1
Diffstat (limited to 'scripts/version.sh')
-rwxr-xr-xscripts/version.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/version.sh b/scripts/version.sh
index 2f919ba..46b9fc5 100755
--- a/scripts/version.sh
+++ b/scripts/version.sh
@@ -3,9 +3,9 @@
#
# 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`
+version=`grep VERSION src/msgs.h | head -n 1 | cut -d'"' -f2`
+branch=`grep BRANCH src/msgs.h | head -n 1 | cut -d'"' -f2`
+build=`grep BUILD src/msgs.h | tail -n 1 | cut -d' ' -f3`
echo "yChat $version-$branch Build $build"