summaryrefslogtreecommitdiffstats
path: root/archrm.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-10-20 22:17:45 +0200
committerPierre Schmitz <pierre@archlinux.de>2013-11-01 18:52:03 +0100
commit27441f201c2394a991427f6a47199dd40024497b (patch)
tree6c97472ae1045e4c49d8ff261235c7a41241e997 /archrm.in
parentc4f72f781b851578793b31e2c0b3f7ec839335cf (diff)
downloaddevtools-27441f201c2394a991427f6a47199dd40024497b.tar.gz
devtools-27441f201c2394a991427f6a47199dd40024497b.tar.xz
common: implement find_cached_package
This function (currently) searches through $PWD and $PKGDEST looking for a tarball matching the requested package name, architecture, and pkgver. If found, it writes the full path to the located package to stdout and returns 0, else 1. If more than 1 match is found, it's treated as an error and the user will need to figure out what to do. Use this in checkpkg and commitpkg, which previously implemented their own less complete logic, to locate the build artifacts they rely on. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'archrm.in')
0 files changed, 0 insertions, 0 deletions