From 6d4c23fcfded77af2e189656fcb79666566e3119 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 3 Aug 2018 12:30:39 -0400 Subject: common.sh: find_cached_srcpkackage(): Add a comment about usage --- lib/common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/common.sh b/lib/common.sh index ac42b00..d5292ca 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -230,6 +230,9 @@ find_cached_package() { # # $pkgver can be supplied with or without a pkgrel appended. # If not supplied, any pkgrel will be matched. +# +# Note that this expects $arch to be in the filename, which makepkg +# --[all]source doesn't normally do. ## find_cached_srcpackage() { local searchdirs=("$PWD" "$SRCPKGDEST") results=() -- cgit v1.2.3-54-g00ecf