index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-12-16 19:53:43 -0500 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2020-02-27 14:50:14 +0100 |
commit | b2cbb8628eba3f64207c6d60f8b57ce023599000 (patch) | |
tree | 39872a489c4e336529d17a1323a66f1e487ba9e4 /checkpkg.in | |
parent | 6d273f79c3ece8d84b52b0f32c36ad2159595892 (diff) |
-rw-r--r-- | checkpkg.in | 4 |
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 ;; '') |