Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
Go to file
Dave Reisner 27441f201c 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>
2013-11-01 18:52:03 +01:00
lib common: implement find_cached_package 2013-11-01 18:52:03 +01:00
.gitignore Update .gitignore 2013-05-25 22:17:30 +02:00
Makefile prepare release 2013-10-20 13:32:16 +02:00
arch-nspawn.in arch-nspawn: allow oddly named directories 2013-08-18 18:17:05 +02:00
archbuild.in archbuild: Correct makechrootpkg argument order 2013-05-11 12:26:21 +02:00
archco.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
archrelease.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
archrm.in Use double brackets everywhere 2011-12-04 18:00:57 +01:00
bash_completion.in makechrootpkg: Remove add_to_db feature 2013-05-03 04:34:29 +02:00
checkpkg.in common: implement find_cached_package 2013-11-01 18:52:03 +01:00
commitpkg.in common: implement find_cached_package 2013-11-01 18:52:03 +01:00
crossrepomove.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
find-libdeps.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
finddeps.in Make sure the usage functions are consistent 2012-11-15 15:25:07 +01:00
lddd.in Use #!/bin/bash instead of #!/bin/sh 2011-12-20 23:05:38 +01:00
makechrootpkg.in makechrootpkg: Look harder for -R argument 2013-11-01 18:38:07 +01:00
makepkg-i686.conf Remove libtool files by default 2013-10-20 13:31:02 +02:00
makepkg-x86_64.conf Remove libtool files by default 2013-10-20 13:31:02 +02:00
mkarchroot.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
pacman-extra.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-gnome-unstable.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-kde-unstable.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-multilib-staging.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-multilib-testing.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-multilib.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-staging.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-testing.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
rebuildpkgs.in Use nymeria instead of gerolde 2013-01-20 18:24:04 +01:00
zsh_completion.in makechrootpkg: Remove add_to_db feature 2013-05-03 04:34:29 +02:00