Update Travis.

This commit is contained in:
Markus F.X.J. Oberhumer
2018-08-26 06:40:07 +02:00
parent 2fcc3f86c0
commit 88cb5886f3
4 changed files with 73 additions and 18 deletions
+8
View File
@@ -103,6 +103,14 @@ else
fi
d=$d-$BM_C-$BM_B
# remove redundant -m32/-m64/-x86/-x64 from directory name
if [[ $d =~ ^((i386-darwin|i386-linux|i386-win32).*)(-m32|-x86)(-.+)?$ ]]; then
d="${BASH_REMATCH[1]}${BASH_REMATCH[4]}"
fi
if [[ $d =~ ^((amd64-darwin|amd64-linux|amd64-win64).*)(-m64|-x64)(-.+)?$ ]]; then
d="${BASH_REMATCH[1]}${BASH_REMATCH[4]}"
fi
if [[ -n $subdir ]]; then
print_header "DEPLOY $subdir/$d"
else