From a625c2107f376d56176910edcce39e8792438e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20V=C3=A1zquez=20Viader?= Date: Sat, 24 Oct 2020 19:39:37 +0200 Subject: [PATCH] Added option to send custom options to mirror --- upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.sh b/upload.sh index b79aa14..2927f7e 100755 --- a/upload.sh +++ b/upload.sh @@ -58,5 +58,5 @@ lftp -e "set xfer:log 1; \ set ssl:check-hostname $PLUGIN_VERIFY; \ set net:max-retries 3; \ $PLUGIN_CLEAN_DIR; \ - mirror --verbose $PLUGIN_CHMOD -R $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" \ + mirror --verbose $PLUGIN_CHMOD -R $PLUGIN_MIRROR_OPTS $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" \ -u $FTP_USERNAME,$FTP_PASSWORD $PLUGIN_HOSTNAME