summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-21 20:18:44 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-21 20:18:44 -0300
commitf98753091219274bc92cf8a90b7786e288d8219f (patch)
tree7f72f30a2aaf304fa7b21daf06a8e001bf4efdb7 /librerelease
parent9c4f19b5e3f590002c19758cded5cb6ed691a8fd (diff)
parentde28a019385b3a4465ffeadf39e51f0411771edf (diff)
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretoolsv20110321
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease5
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