Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
26f03cf3
Unverified
Commit
26f03cf3
authored
Dec 14, 2017
by
xoviat
Committed by
GitHub
Dec 14, 2017
Browse files
[libraries] attempt to fix build-github (#96)
parent
4714c820
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
library_builders.sh
library_builders.sh
+7
-1
No files found.
library_builders.sh
View file @
26f03cf3
...
...
@@ -88,7 +88,13 @@ function build_github {
local
version
=
$2
local
configure_args
=
${
@
:3
}
local
name
=
`
basename
"
$path
"
`
local
name_version
=
"
${
name
}
-
${
version
}
"
# This is tricky. If the version name starts with a "v",
# then the archive name will not start with a "v"
if
[[
$version
==
v
*
]]
;
then
local
name_version
=
"
${
name
}
-
${
version
:1
}
"
else
local
name_version
=
"
${
name
}
-
${
version
}
"
fi
if
[
-e
"
${
name
}
-stamp"
]
;
then
return
fi
...
...
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