summaryrefslogtreecommitdiff
path: root/doc/treepkg.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/treepkg.md')
-rw-r--r--doc/treepkg.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/treepkg.md b/doc/treepkg.md
index 7f7ece1..1e30e33 100644
--- a/doc/treepkg.md
+++ b/doc/treepkg.md
@@ -67,18 +67,18 @@ Your HOOKLOCALRELEASE script should look like this:
source PKGBUILD
unset build package check
-
+
fullver=$(full_version ${epoch:-0} ${pkgver} ${pkgrel})
pkgs=()
-
+
# Generate canonical package paths
msg "Adding packages to [stage3]..."
for name in ${pkgname[@]}; do
msg2 "${name} ${fullver}"
pkgs+=("${PKGDEST}/${name}-${fullver}-*.pkg.tar.*")
done
-
- # Add the packages to a local
+
+ # Add the packages to a local
repo-add ${PKGDEST}/stage3.db.tar.gz ${pkgs[@]}
# Stage the packages for later releasing
@@ -109,7 +109,7 @@ current one. Thus this will become the build path:
> a really long build tree with some circular dependencies you may find
> packages buried several times and queued to build before their actuals deps.
-## Tips
+## Tips
`treepkg` accepts two arguments: 1) the temporary work dir and 2) the next
depth level it should use (if current equals 0, it'll pass 1). You don't need