diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-14 21:44:28 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-14 21:44:28 -0400 |
commit | 89d15e7697da2169493142f78a90b57a784d8f22 (patch) | |
tree | 1bf83d085fefd740b3b89dec46bf16b15a5fc145 | |
parent | ac0f1723e25cf0488af8a30f8212cfd1c05c6f90 (diff) | |
download | devtools32-89d15e7697da2169493142f78a90b57a784d8f22.tar.xz |
makechrootpkg.in: only run `makepkg "$copydir/repo"` once
-rw-r--r-- | makechrootpkg.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in index 05634d8..b0241f2 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -286,9 +286,9 @@ EOF chmod +x "$copydir/chrootbuild" if archroot -r "$copydir" "/chrootbuild"; then + mkdir -p "$copydir/repo" 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 repo-add repo.db.tar.gz "${pkgfile##*/}" |