Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
a73d8447
Commit
a73d8447
authored
Oct 16, 2015
by
Angus Lepper
Browse files
GIT_BRANCH contains a comma during git bisect
parent
ab60172d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile.am
View file @
a73d8447
...
...
@@ -66,7 +66,7 @@ version.h: version.h.in $(AM_SOURCES) $(include_HEADERS) $(noinst_HEADERS)
GIT_BRANCH
=
`
$(GIT_CMD)
branch |
sed
-n
's/^\* \(.*\)/\1/p'
`
;
\
sed
-e
"s,@PACKAGE_VERSION
\@
,
$(PACKAGE_VERSION)
,"
\
-e
"s,@GIT_REVISION
\@
,
$
${GIT_REVISION}
,"
\
-e
"s
,
@GIT_BRANCH
\@
,
$
${GIT_BRANCH}
,
"
version.h.in
>
version.h
;
\
-e
"s
|
@GIT_BRANCH
\@
|
$
${GIT_BRANCH}
|
"
version.h.in
>
version.h
;
\
else
\
if
test
!
-f
version.h
;
then
\
sed
-e
"s,@PACKAGE_VERSION
\@
,
$(PACKAGE_VERSION)
,"
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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