From ac0f1723e25cf0488af8a30f8212cfd1c05c6f90 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 14 May 2013 21:37:51 -0400 Subject: makechrootpkg.in: even though it is, don't require $pkgfile to be absolute when adding it to the local repo --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index d1a37e7..05634d8 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -289,8 +289,8 @@ if archroot -r "$copydir" "/chrootbuild"; then for pkgfile in "$copydir"/pkgdest/*.pkg.tar.?z; do if $add_to_db; then mkdir -p "$copydir/repo" + cp "$pkgfile" "$copydir/repo" pushd "$copydir/repo" >/dev/null - cp "$pkgfile" . repo-add repo.db.tar.gz "${pkgfile##*/}" popd >/dev/null fi -- cgit v1.2.3-70-g09d2