Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
25ff206f
Commit
25ff206f
authored
Sep 26, 2011
by
Raymond Toy
Browse files
Add the tree hash to the version string.
parent
99a5797f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/build.sh
View file @
25ff206f
...
...
@@ -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
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment