summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremakepkg
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-07 11:00:02 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-07 11:00:02 -0400
commit63f8d6fd765b80abca682dfd6b3b80050bf76b3e (patch)
treece42546221d0f086b38bcadf781409d3cfcc40eb /src/chroot-tools/libremakepkg
parentb1a47e5ca3587b40b1e417cc568475e09aa3bbc1 (diff)
have `librechroot install-file` add the packages to the local repo.
Diffstat (limited to 'src/chroot-tools/libremakepkg')
-rwxr-xr-xsrc/chroot-tools/libremakepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index 9267496..b01976d 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -73,7 +73,7 @@ EOF
fi
}
-# Usage: add_to_local_repo $copydir
+# Usage: add_to_local_repo $copydir $pkgfiles...
add_to_local_repo() (
set +euE
. /usr/share/devtools/makechrootpkg.sh
@@ -304,7 +304,7 @@ main() {
build
check_pkg
- add_to_local_repo "$copydir"
+ add_to_local_repo "$copydir" "$copydir"/pkgdest/*.pkg.tar*
$INCHROOT || chroot_copy_out "$copydir" "$LIBREUSER"
}