summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librerelease
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-xsrc/abslibre-tools/librerelease6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index 540472c..59983d2 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -153,7 +153,7 @@ function main {
load_files makepkg
check_vars makepkg GPGKEY
load_files libretools
- check_vars libretools WORKDIR PARABOLAHOST LIBREDESTDIR || return 1
+ check_vars libretools WORKDIR REPODEST || return 1
# The following variables are actually optional
#check_vars libretools HOOKPRERELEASE HOOKPOSTRELEASE || return 1
@@ -186,7 +186,7 @@ function release_packages {
--progress \
-e "ssh " \
${WORKDIR}/staging \
- ${PARABOLAHOST}:${LIBREDESTDIR}/
+ ${REPODEST}/
then
error "Sync failed, try again"
return 1
@@ -195,7 +195,7 @@ function release_packages {
clean
msg "Running db-update on repos"
- ssh ${PARABOLAHOST} dbscripts/db-update
+ ssh ${REPODEST%%:*} dbscripts/db-update
[[ ! -z ${HOOKPOSTRELEASE} ]] && bash -c "${HOOKPOSTRELEASE}"