From 89d15e7697da2169493142f78a90b57a784d8f22 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 14 May 2013 21:44:28 -0400 Subject: makechrootpkg.in: only run `makepkg "$copydir/repo"` once --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makechrootpkg.in') 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##*/}" -- cgit v1.2.3-70-g09d2