diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-03-21 20:18:44 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-03-21 20:18:44 -0300 |
commit | f98753091219274bc92cf8a90b7786e288d8219f (patch) | |
tree | 7f72f30a2aaf304fa7b21daf06a8e001bf4efdb7 /librerelease | |
parent | 9c4f19b5e3f590002c19758cded5cb6ed691a8fd (diff) | |
parent | de28a019385b3a4465ffeadf39e51f0411771edf (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretoolsv20110321
Diffstat (limited to 'librerelease')
-rwxr-xr-x | librerelease | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/librerelease b/librerelease index ad083a3..900cad3 100755 --- a/librerelease +++ b/librerelease @@ -25,16 +25,19 @@ source /etc/libretools.conf custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf [[ -e $custom_config ]] && source $custom_config +[[ ! -z ${HOOKPRERELEASE} ]] && bash -c "${HOOKPRERELEASE}" + echo ":: Uploading packages..." rsync --recursive \ --copy-links \ + --hard-links \ --partial \ --prune-empty-dirs \ --human-readable \ --progress \ -e "ssh " \ ${WORKDIR}/staging \ - ${PARABOLAHOST}:${LIBREDESTDIR} || exit 1 + ${PARABOLAHOST}:${LIBREDESTDIR}/ || exit 1 echo ":: Removing packages from local [staging]" find ${WORKDIR}/staging/ -iname "*.pkg.tar.*" -delete |