summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/abslibre-tools/librerelease2
-rw-r--r--src/libretools.conf5
2 files changed, 3 insertions, 4 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..."
diff --git a/src/libretools.conf b/src/libretools.conf
index 593aed6..8690803 100644
--- a/src/libretools.conf
+++ b/src/libretools.conf
@@ -35,9 +35,8 @@ ABSLIBREGIT=ssh://git@projects.parabolagnulinux.org:1863/srv/git/abslibre.git
################################################################################
## Where to upload packages to
-# Don't change unless you know what you're doing and you won't screw
-# anything ;)
-REPODEST=repo@repo:/srv/http/repo/public
+# '/staging/' is appended; this is for compatability with previous versions.
+REPODEST=repo@repo:/srv/http/repo/staging-$LIBREUSER
## Assumes something similar in your .ssh/config:
# Host repo
# Port 1863