summaryrefslogtreecommitdiff
path: root/src/xbs-abslibre/helper-abslibre
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-06-07 23:56:17 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-07 23:56:17 -0600
commitfd7c79cbcee30e599a50a19eeaf820b22caf81d1 (patch)
treede5075b9343bc91b2712765f3638b6d13e990d93 /src/xbs-abslibre/helper-abslibre
parentd0826fae4e8431302583f7cb563e0fb9702e91b4 (diff)
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.
Diffstat (limited to 'src/xbs-abslibre/helper-abslibre')
-rwxr-xr-xsrc/xbs-abslibre/helper-abslibre6
1 files 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 .