From 0c66d56197ee1d3f201e30b599214c04435aa156 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Wed, 14 Aug 2019 14:59:05 +0300 Subject: [PATCH] linter: specify that non-https links are still acceptable %ci:no-build --- scripts/lint-packages.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lint-packages.sh b/scripts/lint-packages.sh index 9a517eb99..2357863c9 100755 --- a/scripts/lint-packages.sh +++ b/scripts/lint-packages.sh @@ -96,7 +96,7 @@ lint_package() { echo -n "TERMUX_PKG_HOMEPAGE: " if [ -n "$TERMUX_PKG_HOMEPAGE" ]; then if ! grep -qP '^https://.+' <<< "$TERMUX_PKG_HOMEPAGE"; then - echo "NON-HTTPS" + echo "NON-HTTPS (acceptable)" else echo "PASS" fi @@ -193,7 +193,7 @@ lint_package() { for url in "${TERMUX_PKG_SRCURL[@]}"; do if [ -n "$url" ]; then if ! grep -qP '^https://.+' <<< "$url"; then - echo "NON-HTTPS" + echo "NON-HTTPS (acceptable)" urls_ok=false break fi @@ -408,7 +408,7 @@ linter_main() { echo "================================================================" echo echo "A problem has been found in '$(realpath --relative-to="$REPO_DIR" "$package_script")'." - echo "Checked $package_counter packages before first error was detected." + echo "Checked $package_counter packages before the first error was detected." echo echo "================================================================"