[PATCH util-modular 2/6] release.sh: add a couple more info messages
Emil Velikov
emil.l.velikov at gmail.com
Fri Nov 11 15:45:25 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
This way one can relate the exact stage they are and the possible
password prompt they'll see (if the ssh/gpg agent has timed out).
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
release.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/release.sh b/release.sh
index 620b5a4..95050ca 100755
--- a/release.sh
+++ b/release.sh
@@ -580,6 +580,7 @@ process_module() {
# srv_path="~/public_html$srv_path"
# Check that the server path actually does exist
+ echo "Info: check in path exists on web server:"
ssh $USER_NAME$hostname ls $srv_path >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Error: the path \"$srv_path\" on the web server does not exist."
@@ -589,6 +590,7 @@ process_module() {
# Check for already existing tarballs
for tarball in $targz $tarbz2 $tarxz; do
+ echo "Info: checking if tarball $tarball already exists on web server:"
ssh $USER_NAME$hostname ls $srv_path/$tarball >/dev/null 2>&1
if [ $? -eq 0 ]; then
if [ "x$FORCE" = "xyes" ]; then
--
2.10.2
More information about the xorg-devel
mailing list