From eb1357efb8ca3b74375fc38108ec86cec2afec04 Mon Sep 17 00:00:00 2001 From: David Sn Date: Mon, 5 Feb 2018 21:10:14 +0100 Subject: [PATCH] Add output of final command for debugging --- upload.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upload.sh b/upload.sh index bc64d1a..9c8ade8 100755 --- a/upload.sh +++ b/upload.sh @@ -34,4 +34,5 @@ for i in "${in_arr[@]}"; do PLUGIN_INCLUDE_STR="$PLUGIN_INCLUDE_STR -x $i" done -lftp -c "open -u $PLUGIN_USERNAME,$FTP_PASSWORD $PLUGIN_HOSTNAME; set ftp:ssl-force $PLUGIN_SECURE; set ftp:ssl-protect-data $PLUGIN_SECURE; mirror -R $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" \ No newline at end of file +echo "open -u $PLUGIN_USERNAME,XXXXXX $PLUGIN_HOSTNAME; set ftp:ssl-force $PLUGIN_SECURE; set ftp:ssl-protect-data $PLUGIN_SECURE; mirror -R $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" +lftp -c "open -u $PLUGIN_USERNAME,$FTP_PASSWORD $PLUGIN_HOSTNAME; set ftp:ssl-force $PLUGIN_SECURE; set ftp:ssl-protect-data $PLUGIN_SECURE; mirror -R $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR"