diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-01 23:32:50 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 20:01:06 -0600 |
commit | 7c741c5c1b0253d87a925927cb74ff3d329aa16a (patch) | |
tree | 928c346d7f92a7f578c5a05b99d511a8616741f4 /src/abslibre-tools | |
parent | 1165c8ebce0eea97a62b82560f889b978a40a8b2 (diff) |
librerelease: use a single REPODEST instead of PARABOLAHOST + LIBREDESTDIR
Diffstat (limited to 'src/abslibre-tools')
-rwxr-xr-x | src/abslibre-tools/librerelease | 6 |
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}" |