From fd7c79cbcee30e599a50a19eeaf820b22caf81d1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 7 Jun 2015 23:56:17 -0600 Subject: xbs-abslibre: (workaround) have release-server copy, not move This is because the file will have to be there for several passes - loop over arches (for 'any' packages) - loop over ${pkgname[@]} (for split packages) This is a temporary workaround. --- src/xbs-abslibre/helper-abslibre | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xbs-abslibre/helper-abslibre b/src/xbs-abslibre/helper-abslibre index 743fe7c..500ad7e 100755 --- a/src/xbs-abslibre/helper-abslibre +++ b/src/xbs-abslibre/helper-abslibre @@ -47,8 +47,8 @@ conf() { # release-client *copies* files from the `abslibre` tree to an # `abstree`[1] tree located at `devbox:${ABSLIBREDEST}/${arch}`. On # the server side, after those `abstree`s have been uploaded -# (ssh/rsync), release-server *moves* them out of the `abstree` into a -# different `abslibre` on the server, similarly located at +# (ssh/rsync), release-server *copies* them out of the `abstree` into +# a different `abslibre` on the server, similarly located at # `repobox:${ABSLIBREDEST}/${arch}`. # # [0]: https://projects.parabola.nu/packages/pbs-tools.git/tree/docs/format-abslibre.md @@ -110,7 +110,7 @@ release-server() { fi mkdir -p -- "$pkgdir" - mv -- * "$pkgdir" + cp -- * "$pkgdir" cd "$pkgdir" git add . -- cgit v1.2.3-54-g00ecf