summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-14 21:37:51 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-14 21:37:51 -0400
commitac0f1723e25cf0488af8a30f8212cfd1c05c6f90 (patch)
tree549db5e598ae6809341ad4d7e0b77a819be57bfa
parenta1a79ff77bb19166bd5631953a71e3d3222e5f1c (diff)
downloaddevtools32-ac0f1723e25cf0488af8a30f8212cfd1c05c6f90.tar.xz
makechrootpkg.in: even though it is, don't require $pkgfile to be absolute when adding it to the local repo
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
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