summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librerelease
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-21 16:28:20 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-21 16:28:20 -0400
commit70a82faa924bfc6f1462673aee11b1ff6093d82c (patch)
tree5c8166bc6e9b7ad5da23558e153e177eb21ddab9 /src/abslibre-tools/librerelease
parent49eaa1e55ed429fc184270901a683905c6d63438 (diff)
librerelease: support per-user staging directories
The relies on db-update on the server respecting STAGING if it is set in the environment. https://labs.parabola.nu/issues/314
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-xsrc/abslibre-tools/librerelease2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index 64d5004..8bd5934 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -235,7 +235,7 @@ release_packages() {
clean_files "$file_list"
msg "Running db-update on repos"
- ssh ${REPODEST%%:*} dbscripts/db-update
+ ssh ${REPODEST%%:*} "$(printf 'STAGING=%q dbscripts/db-update' "${REPODEST#*:}")"
if [[ -n $HOOKPOSTRELEASE ]]; then
msg "Running HOOKPOSTRELEASE..."