Unverified Commit 26f03cf3 authored by xoviat's avatar xoviat Committed by GitHub
Browse files

[libraries] attempt to fix build-github (#96)

parent 4714c820
......@@ -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
......
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