check-updates.sh: no 'set -e -u' in when sourcing build.sh

This commit is contained in:
Leonid Pliushch 2020-12-17 21:34:33 +02:00
parent 7152d17384
commit 56ad2471f3
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if [ -f "${BASEDIR}/github-projects.txt" ]; then
fi
# Our local version of package.
termux_version=$(. "${BASEDIR}/../../packages/${package}/build.sh" 2>/dev/null; echo "$TERMUX_PKG_VERSION" | cut -d: -f2-)
termux_version=$(set +e +u;. "${BASEDIR}/../../packages/${package}/build.sh" 2>/dev/null; echo "$TERMUX_PKG_VERSION" | cut -d: -f2-)
# Latest version is the current release tag on Github.
latest_version=$(curl --silent -H "Authorization: token ${GITHUB_API_TOKEN}" "https://api.github.com/repos/${project}/releases/latest" | jq -r .tag_name)