From b2cbb8628eba3f64207c6d60f8b57ce023599000 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 16 Dec 2019 19:53:43 -0500 Subject: checkpkg: fix support for http:// url comparisons Broken in commit c14338c0fe71a74f5e56b4f3af7c548fe0928e15. Signed-off-by: Eli Schwartz Signed-off-by: Levente Polyak --- checkpkg.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'checkpkg.in') diff --git a/checkpkg.in b/checkpkg.in index 374c004..d7c0948 100644 --- a/checkpkg.in +++ b/checkpkg.in @@ -95,8 +95,10 @@ for _pkgname in "${pkgname[@]}"; do if (( $# )); then case $1 in + *://*) + pkgurl=$1 ;; /*|*/*) - pkgurl=file://$(readlink -m "$1") ;; + pkgurl=$(readlink -m "$1") ;; *.pkg.tar*) pkgurl=$1 ;; '') -- cgit v1.2.3-70-g09d2