update external library versions, fixes #85

This commit is contained in:
Taner Sener
2021-09-18 10:10:21 +01:00
parent cb44185a29
commit 4c2fdb2bfc
16 changed files with 40 additions and 50 deletions
+3 -3
View File
@@ -1299,7 +1299,7 @@ print_redownload_requested_libraries() {
# 1 - library index
get_external_library_license_path() {
case $1 in
1) echo "${BASEDIR}/src/$(get_library_name "$1")/docs/LICENSE.TXT" ;;
1) echo "${BASEDIR}/src/$(get_library_name "$1")/LICENSE.TXT" ;;
3 | 39) echo "${BASEDIR}/src/$(get_library_name "$1")/COPYING.LESSERv3" ;;
5 | 41) echo "${BASEDIR}/src/$(get_library_name "$1")/$(get_library_name "$1")/COPYING" ;;
19) echo "${BASEDIR}/src/$(get_library_name "$1")/$(get_library_name "$1")/LICENSE" ;;
@@ -1330,8 +1330,8 @@ copy_external_library_license() {
# 1 - library index
# 2 - output path
copy_external_library_license_file() {
RESULT=$(cp $(get_external_library_license_path "$1") "$2" 1>>"${BASEDIR}"/build.log 2>&1)
if [[ ${RESULT} -ne 0 ]]; then
cp $(get_external_library_license_path "$1") "$2" 1>>"${BASEDIR}"/build.log 2>&1
if [[ $? -ne 0 ]]; then
echo 1
return
fi