package uploader: omit messages on stderr when sourcing build.sh

Prevents messages like this one:
which: no msgfmt in (/home/xeffyr/bin:/run/wrappers/bin:/home/xeffyr/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/xeffyr/bin)
This commit is contained in:
Leonid Pliushch 2019-03-25 14:12:18 +02:00
parent f625f44d7c
commit 214799a285
1 changed files with 2 additions and 2 deletions

View File

@ -474,10 +474,10 @@ get_package_property() {
unset BINTRAY_USERNAME
if [ -e "$TERMUX_PACKAGES_BASEDIR/scripts/properties.sh" ]; then
. "$TERMUX_PACKAGES_BASEDIR/scripts/properties.sh"
. "$TERMUX_PACKAGES_BASEDIR/scripts/properties.sh" 2>/dev/null
fi
. "$buildsh_path"
. "$buildsh_path" 2>/dev/null
echo "${!2}"