Browse Source

linter: source ./scripts/properties.sh only if it exists

emacs-27
Leonid Plyushch 5 years ago
parent
commit
83396b7df1
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      scripts/lint-packages.sh

2
scripts/lint-packages.sh

@ -87,7 +87,9 @@ lint_package() {
# Using API 24 here.
TERMUX_PKG_API_LEVEL=24
if [ -f "$REPO_DIR/scripts/properties.sh" ]; then
. "$REPO_DIR/scripts/properties.sh"
fi
. "$package_script"

Loading…
Cancel
Save