Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: tags/R-0-90-1
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (17 sloc) 0.594 kb
TOOLS_DIR=`echo ${0} | sed 's%/[^/][^/]*$%%'`
(cd ${TOOLS_DIR}/..
maj=`sed 's/\([^ .]*\).\([^ ]*\) *\(.*\)/\1/' < VERSION`
min=`sed 's/\([^ .]*\).\([^ ]*\) *\(.*\)/\2/' < VERSION`
rev=`sed 's/\([^ .]*\).\([^ ]*\) *\(.*\)/\3/' < VERSION`
y=`cut -d/ -f1 < date-stamp`
m=`cut -d/ -f2 < date-stamp`
d=`cut -d/ -f3 < date-stamp`
echo "#define R_MAJOR \"${maj}\""
echo "#define R_MINOR \"${min}\""
echo "#define R_STATUS \"${rev}\""
echo "#define R_YEAR \"${y}\""
echo "#define R_MONTH \"${m}\""
echo "#define R_DAY \"${d}\"")
Jump to Line
Something went wrong with that request. Please try again.