checkpkg: fix support for http:// url comparisons
Broken in commit c14338c0fe
.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
This commit is contained in:
parent
6d273f79c3
commit
b2cbb8628e
|
@ -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 ;;
|
||||
'')
|
||||
|
|
Loading…
Reference in New Issue