Browse Source

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)
emacs-27
Leonid Plyushch 6 years ago
parent
commit
daf9d16121
  1. 4
      scripts/package_uploader.sh

4
scripts/package_uploader.sh

@ -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}"

Loading…
Cancel
Save