From 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:41 +0200 Subject: tagging tags --- yhttpd-0.7.2/scripts/version.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 yhttpd-0.7.2/scripts/version.sh (limited to 'yhttpd-0.7.2/scripts/version.sh') diff --git a/yhttpd-0.7.2/scripts/version.sh b/yhttpd-0.7.2/scripts/version.sh new file mode 100755 index 0000000..50c189c --- /dev/null +++ b/yhttpd-0.7.2/scripts/version.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# The yhttpd Project (2005) +# +# This script shows yhttpd VERSION-BRANCH Build BUILDNUMBER + +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 "yhttpd $version-$branch Build $build" + + -- cgit v1.2.3