diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-14 21:37:51 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-14 21:37:51 -0400 |
commit | ac0f1723e25cf0488af8a30f8212cfd1c05c6f90 (patch) | |
tree | 549db5e598ae6809341ad4d7e0b77a819be57bfa /makechrootpkg.in | |
parent | a1a79ff77bb19166bd5631953a71e3d3222e5f1c (diff) |
makechrootpkg.in: even though it is, don't require $pkgfile to be absolute when adding it to the local repo
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r-- | makechrootpkg.in | 2 |
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 |