summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-08-03 12:30:39 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-08-03 12:32:40 -0400
commit6d4c23fcfded77af2e189656fcb79666566e3119 (patch)
tree3b4e38ad46997297c1156049b1c27917878e294d
parentf0f50307c3d9ae2b9629a21f10eed90b14ee5f6f (diff)
downloaddevtools32-6d4c23fcfded77af2e189656fcb79666566e3119.tar.xz
common.sh: find_cached_srcpkackage(): Add a comment about usage
-rw-r--r--lib/common.sh3
1 files changed, 3 insertions, 0 deletions
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=()