Commit 25ff206f authored by Raymond Toy's avatar Raymond Toy
Browse files

Add the tree hash to the version string.

parent 99a5797f
......@@ -42,7 +42,10 @@ ENABLE4="yes"
version=20b
SRCDIR=src
TOOLDIR=$SRCDIR/tools
VERSION="CVS Head `date '+%Y-%m-%d %H:%M:%S'`"
VERSION="`date '+%Y-%m-%d %H:%M:%S'`"
GIT_HASH="`(cd src; git log -1 --pretty=format:%t 2>/dev/null)`"
# Add the tree hash to the version
VERSION="$VERSION $GIT_HASH"
BASE=build
OLDLISP="cmulisp -noinit"
......@@ -151,7 +154,7 @@ do
3) ENABLE4="no" ;;
o) OLDLISP=$OPTARG ;;
b) BASE=$OPTARG ;;
v) VERSION="$OPTARG" ;;
v) VERSION="$OPTARG $GIT_HASH" ;;
u) SKIPUTILS="yes" ;;
C) CREATE_OPT="$OPTARG"
CREATE_DIRS=yes ;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment